Before reading this please have a look at the following link.
Various tags used in HTML
This tag is used to break a line.
Example
Name: Shresthi Jaiswal <br> Class: 10th
This tag is used to make a paragraph.
Example
<p>Success is neither magical nor mysterious. Success is the natural consequence of consistently applying the basic fundamentals. </p> <p>A constant struggle, a ceaseless battle to bring success from inhospitable surroundings, is the price of all great achievements. </p>
This tag is used to emphasize the text.
Example
My name is <b> Shresthi </b>
This tag is used to markup the text in italic style.
Example
My name is <i> Shresthi </i>
This tag is used to underline the text.
Example
My name is <u> Shresthi </u>
H1: Extra Large
H2: Very Large
H3: Large
H4: Medium
H5: Small
H6: Very Small
Example
<H1>HTML</H1>
<H2>HTML</H2>
<H3>HTML</H3>
<H4>HTML</H4>
<H5>HTML</H5>
<H6>HTML</H6>
This tag is used to center the text.
Example
<center> C-Sharp Corner </center>
This tag is used to set the color of the background.
Example
<BG COLOR= “BLUE”>
Welcome to C-Sharp Corner!
There are the following two types of lists.
ORDERED LIST: Each thing you type after the <OL> between </OL> tag will appear next to a number on the web page in a consecutive manner.
Example<OL type= “1” >
<LI> Name : Shresthi</LI>
<LI> Class : 10th </LI>
</OL>
UNORDERED LIST: Each thing you type after the <UL> between </UL> tag will appear next to a bullet on the web page.
Example<UL type= “*” >
<LI> Name : Shresthi</LI>
<LI> Class : 10th </LI>
</UL>
This tag is used to create a table.
Example
This tag is used for creating links.
Example
<a herf= “
http://imshresthi.blogspot.in/”> imshresthi</a >
This tag is used for inserting an image.
Example
<img src= “App..le.jpg”>
This tag is used to cross out words.
Example
<strike>This is wrong page.</strike>
This tag is used to superscript text.
Example
E=MC<sup> 2</sup>
This tag is used to subscript text.
Example
H<sub>2</sub>O
This tag is used for a section in a document.
This tag is used to text something important.