HTML formatting tags are used to define the style of text in a web page which shows special meaning of text.
The HTML <b> tag is used to display text in bold.
The HTML <strong> tag defines the text is important, the text is typically displayed in bold.
<b>This is a bold text.</b>
<strong> This is important text, display same as bold</strong>
Try It »
The HTML <i> tag is used to display text in italic.
The HTML <em> tag defines the text is important and has some meaning, the text is typically displayed in italic.
<i>This is a italic text.</i>
<em> This is important text, display same as itatlic</em>
Try It »
The HTML <sub> element is used to define subscripted text in a web page. Subscripted text appears slightly lower than the normal text and is often used to represent a subscript in scientific or mathematical expressions.
The HTML <sup> element is used to define superscripted text in a web page. Superscripted text appears slightly higher than the normal text and is often used to represent a superscript in scientific or mathematical expressions.
<p>Water formula is H<sub>2</sub>O</p>
<p> Formula for Area of Circle A = πr<sup>2</sup>.</p>
Try It »
<small>This is a Small Text.</small>
<p>HTML is a <mark>Hypertext Markup Language.</mark></p>
<p>I love the <del>green</del> color.</p>
<p>I love the <del>green </del> <ins>Orange</ins> color.</p>
Try It »