Basic tags of HTML

=> open ur text editer :-

=> And save it as demo.html and write below code:-

<html>
<body>

Hello word<br/>

<hr>

<h1>Heading 1</h1>

<h2>Heading 2</h2>
<h6>Heading 6</h6>

<hr>

<b>Bold</b><br />
<strong>Strong</strong><br />
<i>italic</i></br>
<em>emphasis</em></br>
<u>undeline</u><br />
<b>Nesting </b>
<i>of</i>
<i><u>tags</i></u><br />
<big>Big</big><br />
<small>Small</small><br />
<strike>Strikr</strike><br />
<tt>Typewriter Text</tt><br />
1<sup>st rank<sup><br />
H<sub>2</sub>o<br />

<hr>

<ul>
<li>unorderd list item</li>
<li>unorderd list item</li>
</ul>
<ol>
<li>orderd list item</li>
<li>orderd list item</li>
</ol>

<hr>

<p align="left">
Normal paragraph
</p>
<p align="center">
center align paragraph
</p>
<p align="right">
left align paragraph
</p>
<p align="center">
center tag
</p>
<hr>
<p>
hr tag with color, size,width,align;
</p>
<hr color="blue" size="10" width="500" align="left">

<hr>
<p>
font tag with color, size,width,align;
</p>
<font color="red" width="20" size="10">well come to HTML</font>
<hr>

<p>
img tag with width,hight,align;
</p>
<hr>
<img src="img.jpg" width="600" height="200">
<body>
<html>

=>then run on ur browser.

=>if u download source code then click on below link :-

Download Source Code

Comments

Post a Comment

Popular posts from this blog

How to create simple biodata form in html

How to use Height and Width property in HTML using CSS

How to use cursor property in HTML using CSS