How to Create HTML Tables in Hindi (basic to advanced)

1. <table> Tag

2. <tr> Tag (Table Row)

3. <th> Tag (Table Heading)

4. <td> Tag (Table Data)

HTML Table के Attributes




Table में Column को जोड़ना

Table में Row को जोड़ना

<!DOCTYPE html>
<html>
<head>

<style>

table{
    width:100%;
    border-collapse:collapse;
}

th,td{
    border:1px solid black;
    padding:10px;
    text-align:center;
}

th{
    background-color:lightblue;
}

</style>

</head>

<body>

<table>

<tr>
<th>Name</th>
<th>Course</th>
<th>Year</th>
</tr>

<tr>
<td>Rahul</td>
<td>Web Development</td>
<td>2026</td>
</tr>

</table>

</body>
</html>

Output :

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top