Sunday 14 December 2014

HTML FORMATTING|| ITALIC,EMPHASIZED,SMALL

HTML Formatting have different Types . in this tutorial we discuss about following types of formatting .
  1. ITALIC Formatting
  2. emphasized Formatting 
  3. small Formatting 

HTML ITALIC FORMATTING

HTML <i> element defines italic text, without any extra importance. 
the code for  italic formatting shown below.

CODE

<p>This text is normal.</p>

<p><i>This text is italic</i>.</p>
OUTPUT

HTML EMPHASIZED FORMATTING 
The HTML <em> element defines emphasized text, with added semantic importance. Code for  italic formatting shown below.
CODE
 
<p>This text is normal.</p>

<p><em>This text is emphasized</em>.</p>
OUTPUT

HTML SMALL FORMATTING 
 
The HTML <small> element defines small text.Code for  italic formatting shown below.
CODE
<h2>HTML <small>Small</small> Formatting</h2> 
OUTPUT


 

0 comments:

Post a Comment