Mark List program in HTML Using Tables
Google Question Hub Mark List program in HTML
The HTML table tag is used for arranging the data in the form of rows and columns, or possibly in a more complex structure. The HTML tables are created using the <table> tag in which the <th> tag is used for heading in the table row, <tr> tag is used to create table rows and <td> tag is used to create data under rows cells. The elements under <td> are regular and left aligned by default.
Question : Mark List program in HTML
<html>
<head>
<title>Google Question Hub</title>
</head>
<body>
<h1 align="center">Google Question Hub
Mark List program in HTML</h1>
<table border=2 cellpadding=10% width=70%
align="center" bgcolor="pink">
<tr>
<th>Rollno</th>
<th>English</th>
<th>Maths</th>
<th>Computer</th>
</tr>
<tr>
<td>1</td>
<td>89</td>
<td>77</td>
<td>87</td>
</tr>
<td>2</td>
<td>99</td>
<td>79</td>
<td>90</td>
</tr>
</table>
</body>
</html>
The Output of the program
Post a Comment