Enter your email id to get regular update free
Login
Your Email
Pasword

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.
<h2>HTML<mark>marked</mark>Formatting</h2>

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>

Formatting
HTML
HTML Elements Formatting
Ayesha
Tech writer at newsandstory
Total 125 views