Solution
Step-1: Write below code in any HTML Editor and save it as .html file.
<html>
<head>
<title> Table Structure</title>
</head>
<body
align="center">
<STRONG>WELCOME
TO ABC UNIVERSITY STUDENTS DETAILS</STRONG>
<table
border="1" cellspacing="0" cellpadding="0"
align="center" width="800px">
<tr align="center">
<td>
<strong>S.NO.</strong>
</td>
<td>
<strong>SNAME</strong>
</td>
<td>
<strong>BRANCH</strong>
</td>
<td>
<strong>SEM</strong>
</td>
<td COLSPAN="3">
<strong>MARKS</strong>
</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td align="center"><b>M1</b></td>
<td align="center"><b>M2</b></td>
<td align="center"><b>M3</b></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
Step-2: Open File in Any Browser to show the output as below.
Table Practical Output |
No comments:
Post a Comment