TutorialLab
HTML Table

HTML Table

HTML Table:

Today we will discuss about HTML table we use HTML table for to show our data in row / column form in a webpage.So now we are trying to learn the HTML table code.HTML table will start from <table> tag and end with </table> tag.HTML table consist of rows and columns <tr> tag represent table row <th> tag represent table heading while <td> tag represent table data.Normally <th> is used only for the first row in table rest of all rows contain <td> tag.

<table>
<tr>
<th>Name</th>
<th>Roll No</th>
</tr>
<tr>
<td>Aizaz Ali</td>
<td>1202015</td>
</tr>
<tr>
<td>Ahmad Ali</td>
<td>120205</td>
</tr>
<tr>
<td>Rizwan</td>
<td>1202013</td>
</tr>
<tr>
<td>Hassan Khan</td>
<td>120201</td>
</tr>
</table>

Previous Lecture Next Lecture

Aizaz Ali

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.