SOP 4 : Write a program using HTML with the following specification.
- A webpage with details about a class with total number of students-100, (Boys50), Girls- 50 in tabular form.
- Link this page to another page
Solution:-
<html><head><title>Class Information</title><body><h2>Class-Information</h2><table border="2"><th>Number of Students</th><th>Boys</th><th> Girls</th><tr> <td>100</td> <td>50</td> <td>50</td></tr></table><br> <br>
<a href="classinfo.html">Click here for class Information</a></body></html>
classinfo.html
<html><head><title>HTML Linked Page</title><body>
<b>STD-XI </b> <br><b>Stream-Science</b> <br><u> DIV-A</u> <br>
</body></html>
<html>
<head>
<title>
Class Information
</title>
<body>
<h2>Class-Information</h2>
<table border="2">
<th>Number of Students</th>
<th>Boys</th>
<th> Girls</th>
<tr>
<td>100</td>
<td>50</td>
<td>50</td>
</tr>
</table>
<br> <br>
<a href="classinfo.html">Click here for class Information</a>
</body>
</html>
<html>
<head>
<title>
HTML Linked Page
</title>
<body>
<b>STD-XI </b> <br>
<b>Stream-Science</b> <br>
<u> DIV-A</u> <br>
</body>
</html>
No comments:
Post a Comment