Making A Table Using Hypertext Markup Language
<html> <body> <h3>One column:</h3> <table border="2">
<th>Table</th>
<tr> <td>100</td> </tr> </table>
</body>
</html>
Now in this program you must be thinking which tag is working how..About html tag
and body tag i have mentioned in my earlier post click here
Now over here we are <th> tag --- for writing the header of the table or you can say making header of table..
<tr> --- used for table row.
<td>---used for table data.
<table border="2"> --- indicates the border line of the table. Here it will give two line as border.
we are closing each tag by writing the tag and including "/" sign before it.
Now i hope every one will able to create table using html.If you have any qns you can ask me.
No comments:
Post a Comment