Html

You can learn html only 3 Lessons.

lesson1       lesson2        lesson3      


Headings

Example:

<html>
<head>
<title> welcome to the asad website </title>
</head>
<body>

<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
<h4>This is a heading</h4>
<h5>This is a heading</h5>
<h6>This is a heading</h6>


</body>
</html>

   Run . . . .
  




This is a paragraph

<html>
<head>
<title> welcome to the asad website </title>
</head>

<body>

<p>This is a paragrahp.</p>

</body>
</html>

 Run . . . .





Html link

<a href="http://www.programming-asad.blogspot.com">This is a link</a>




Html Images

<img src="asad.jpg" width="104" height="142">

HTML Style Example - Text Alignment





Html Align

<html>

<body>
<h1 style="text-align:center;">Center-aligned 

heading</h1>
<p>This is a paragraph.</p>
</body>

 Run . . . .




Checkboxes


<html>
<body>
<form>
<input type="checkbox" name="vehicle" value="Bike">I have a bike<br>
<input type="checkbox" name="vehicle" value="Car">I have a car 
</form>
</body>
</html>

 Run . . . .





Table

<html>
<body>

<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>

<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>

</body>
</html>


 Run . . . .




                                    

                                  <<< Previous                                                         Next  >>>



\ Flame