Enter your email id to get regular update free
Your Email

How to apply Formatting on HTML Elements?

HTML defines special elements for defining text .

HTML uses elements <b> and <i> for formatting output for  bold or italic text. 
 Formatting elements are designed to display text in special types .
1. HTML <b> Element
The HTML <b> element defines bold text without any extra importance. 
<b>This text is bold</b>
2.HTML <strong> Element
The HTML <strong>element defines strong text.
<strong>This text is strong<strong>
3.HTML <i> Element
The HTML <i>  element change to  italic text
<i>This text is italic</i>

4.HTML <em> Element
The HTML <em> element  emphasized the text.
<em>This text is emphasized</em>

5.HTML <mark> Element
The HTML <mark>element highlight the text.

7.HTML <del> Element
The HTML <del> element remove the text.
<p>I want to buy a <del>Black</del>car.</p>

8.HTML <ins> Element
The HTML<ins> element added text.
<p>My favourite<ins> hobby</ins> is cricket.

9.HTML <sub> Element
HTML <sub> creates sub scripted text.
<p>This is <sub> subs scripted </sub> text.</p>

10.HTML <superscript> Element
HTML create superscript text.
<p>This is <sup> superscript</sup> text.</p>

HTML Elements Formatting
Tech writer at newsandstory
Total 573 views