texte en surbrillance 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;
}
comment mettre en surbrillance du texte en html
<mark>text</mark>
couleur de marque css
<style>
mark {
background-color: yellow;
color: black;
}
</style>
<mark>Highlighted text!!</mark>
marque 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>
marquer la balise en html
mark {
display: inline-block;
line-height: 0em;
padding-bottom: 0.5em;
}