For highlighting a run of text due to its relevance in another context, use the
You can use the mark tag to highlight text.
For indicating blocks of text that have been deleted use the
This line of text is meant to be treated as deleted text.
For indicating blocks of text that are no longer relevant use the
This line of text is meant to be treated as no longer accurate.
For indicating additions to the document use the
To underline text use the
This line of text will render as underlined
Make use of HTML's default emphasis tags with lightweight styles.
For de-emphasizing inline or blocks of text, use the
<small> tag to set text at 85% the size of the parent. Heading elements receive their own
font-size for nested
You may alternatively use an inline element with
.small in place of any
This line of text is meant to be treated as fine print.
For emphasizing a snippet of text with a heavier font-weight.
The following snippet of text is rendered as bold text.
For emphasizing a snippet of text with italics.
The following snippet of text is rendered as italicized text.
Feel free to use
<i> in HTML5.
<b> is meant to highlight words or phrases without conveying additional importance while
<i> is mostly for voice, technical terms, etc.