Html5 Tutorial

How To Create a Table in HTML5







In this video, you will learn how to create a responsive table in HTML5, and also learn table attributes like thead, tbody, tfoot, th, tr, and td tag in html 5 in Hindi and Urdu. You can also learn table attributes on this video so keep watching and subscribe to my channel as well.


TABLE CODE FOR HTML5

<table>
<tr>
<th>Full Name</th>
<th>Email</th>
<th>Roll No</th>
</tr>
<tr>
<td>Alfreds Futterkiste</td>
<td>info@gmail.com</td>
<td>11252</td>
</tr>
<tr>
<td>Centro comercial Moctezuma</td>
<td>info@hotmail.com</td>
<td>78598</td>
</tr>
</table>



CSS3 STYLING CODE FOR TABLE

Add this code into your document between <head> </head> section

<style>
table, th, td {
border:1px solid black;
}
</style>

FOLLOW US ON

Youtube 
Facebook
Instagram
Pinterest
Contact us