<table> defines the table.border attribute sets the border thickness.<tr> defines rows.<th> defines table headings.<td> defines table data cells.
Use the <table> tag with border="2".
Use <th> for column titles: Subject and Marks.
Insert rows using <tr> and data using <td>.
<!DOCTYPE html>
<html>
<head>
<title>Subject Marks Table</title>
</head>
<body>
<table border="2">
<tr>
<th>Subject</th>
<th>Marks</th>
</tr>
<tr>
<td>Maths</td>
<td>90</td>
</tr>
<tr>
<td>Science</td>
<td>85</td>
</tr>
</table>
</body>
</html>
The table displays Subject and Marks with a 2-pixel border using the border="2" attribute.