HTML Formatting have different Types . in this tutorial we discuss about following types of formatting .
The HTML <small> element defines small text.Code for italic formatting shown below.
- ITALIC Formatting
- emphasized Formatting
- 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>
<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>
<p><em>This text is emphasized</em>.</p>
OUTPUT
HTML SMALL FORMATTING
CODE
<h2>HTML
<small>Small</small> Formatting</h2>
0 comments:
Post a Comment