Std. XI I.T || Skill Set 2 - HTML5 || SOP 4


SOP4: Write a program using HTML with the following specification.
·        Write a program with details about a class with total number of students-100, (Boys-50), Girls-50 in tabular form.
·        Link this page to another page as follows.

                                                           Demo.html




HTML Code

<!DOCTYPE html>
<html>
<head>
<title>sop4A</title>
</head>
<body>
<table border=1 cellspacing=0>
<tr bgcolor="gold" align="center">
<th>Number of Students
<th>Boys
<th>Girls
</tr>
<tr bgcolor="lightgreen" align="center">
<th>100
<th>50
<th>50
</tr>
</table>
</body>
</html>

Output














HTML Code
<!DOCTYPE html>
<html>
<head>
<title>sop4B</title>
</head>
<body>
<b>STD - XI</b><br><br>
<b><i>Stream - Science</i></b><br><br>
<u>Div - A</u><br><br>
<a href="demo.html">Demo.html</a>
</body>
</html>




HTML Code
<!DOCTYPE html>
<html>
<head>
<title>sop4B</title>
</head>
<body>
<h1>This is demo page</h1>
<a href="sop4b.html">First page</a>
</body>
</html>

Output





Comments

Post a Comment

Popular posts from this blog

Std XI I.T || Skill Set 3 – JavaScript || SOP1

Std XI I.T || Skill Set 3 – JavaScript || SOP3