testo di evidenziazione html
For HTML5: (with 'mark' tag)
<p>Do not forget to buy <mark>milk</mark> today.</p>
In CSS file: (To customize highlight)
mark {
background-color: yellow;
color: black;
}
come evidenziare il testo in html
<mark>text</mark>
colore del segno css
<style>
mark {
background-color: yellow;
color: black;
}
</style>
<mark>Highlighted text!!</mark>
contrassegno html
<!-- Highlight parts of a text: -->
<p>Do not forget to buy <mark>milk</mark> today.</p>
<!-- Default CSS: -->
<head><style>
mark {
background-color: yellow;
color: black;
}
</style></head>
contrassegna tag in html
mark {
display: inline-block;
line-height: 0em;
padding-bottom: 0.5em;
}