Saturday, October 3, 2015

html beginner tutorial adding table

Assalam-o-alaikum


               how to put a table in html



<html>
<title>
</title>


<body>

<table>

<tr>

<td>1</td>
<td>2</td>

</tr>
</table>
</body>


</html>


if you run it will show like this



So the start tag for a table is <table>and the end  tag is</table>

tr mean table row 
a horizental line in a table is call table row
so the start tag for the table row is <tr> and the end tag is</tr>


td mean table data which express table coloum

a vertical line in a table is called table column

So the start tag of table data is <td> and it ends with</td>

i hope you found this more useful



To watch description about this click me

No comments:

Post a Comment