Sei sulla pagina 1di 4

<html> <body> <table border="1" width="300" align="center" bgcolor="red"> <tr> <th align="center">first name</th> <th align="center">middle name</th> <th

align="center">last name</th> </tr> <tr> <td align="center" bgcolor="green"><font color="white">A</font></td> <td align="center">b</td> <td align="center">c</td> </tr> <tr> <td align="center">d</td> <td align="center">e</td> <td align="center">f</td> </tr> <tr> <td align="center">g</td> <td align="center">h</td> <td align="center">i</td> </tr> </table> </body> </html>

<html> <head> <title> html document </title> </head> <body bgcolor="red" text="white"> <h1 align="center"> this is heading 1 </h1> <h2> this is heading 2 </h2> <h3> this is heading 3 </h3> <h4> this is heading 4 </h4> <h5> this is heading 5 </h5> <h6> this is heading 6 </h6> <p>hey hi</p> <p>hello</p> <font size="50" color="blue" face="verdana">aarti amar ahuja</font><br><!---this to break a line---> aarti <br> amar<br> ahuja<br> <a href="http://www.w3schools.com/html/html_forms.asp" target="_blank"> this w3schools link </a> <img src="C:\Users\Public\Pictures\Sample Pictures\Desert.jpg" alt="money2"> <ol> <li>tea</li> <li>coffee</li> <li>sugar</li> </ol> <ul> <li>tea</li> <li>coffee</li> <li>sugar</li>

</ul> <dl> <dt>tea</dt> <dd>this is dark</dd> <dt>coffee</dt> <dd>this is a substitute</dd> <dt>sugar</dt> <dd>use sugar free instead</dd> </dl> </ol> </body> </html>

Potrebbero piacerti anche