Formatting Elements in HTML

Formatting elements were designed to display unique text. HTML Formatting Elements are:

  • <b>
  • It denotes bold text.

  • <strong>
  • It denotes strong text with imp*.

  • <i>
  • It denotes italic text.

  • <em>
  • It denotes emphasized text with imp*.

  • <mark>
  • It denotes highlighted text.

  • <small>
  • It denotes smaller text.

  • <del>
  • It denotes deleted text.

  • <ins>
  • It denotes inserted text.

  • <sub>
  • It denotes sub text.

  • <sup>
  • It denotes super text.

Example


<html>
<body>
<b>ConceitCode written in bold</b>
<br>
<strong>Written in strong</strong>
<br>
<i>ConceitCode written in italic</i>
<br>  
<em>Written in emphasized</em>
<br>  
<small>Written in  small</small>
<br>
<mark>ConceitCode Marked</mark>
<br>
<del>Conceit</del>ConceitCode
<br>
<ins>company</ins> ConceitCode
<br>
ConceitCode<sub>company</sub>
<br>
ConceitCode<sup>company</sup>
</body>
</html>


Output

ConceitCode written in bold
Written in strong
ConceitCode written in italic
Written in emphasized
Written in small
ConceitCode Marked
ConceitConceitCode
company ConceitCode
ConceitCodecompany
ConceitCodecompany
Subscribe & Get Regular Updates On Your E-mail