Slip 26 - B) Write HTML and CSS code to design a web page. Divide the browser screen into two frames. The first frame will display the heading. The second frame contains a menu consisting of hyperlinks. Clicking on any one of these hyperlinks will display related information in a new page

Solution:


Slip26.css

ul.u1 {
font-size: 18;
list-style-type:square;;
}
Heading.html
<html>
<h1 align=center>IT Industries in INDIA</h1>
</html>
Pune.html
<html>
<h1> Pune </h1>
<ul style="list-style-type:disk;">
<li>Infosys</li>
<li>TCS</li>
<li>Tech mahindra</li>
<li>Persistent</li>
</ul>
</html>

Ban.html

<html>
<h1> Banglore </h1>
<ul style="list-style-type:disk;">
<li>Infosys</li>
41
<li>TCS</li>
<li>Tech mahindra</li>
<li>Persistent</li>
</ul>
</html>

List.html

<html>
</title>
<head>
<link rel="stylesheet" href="style.css">
</head>
</title>
<h2><i>City</i><h2>
<ul class="u1">
<li><a href="pune.html" target="_blank">Pune</a>
<li><a href="ban.html" target="_blank"3>Banglore</a>
</ul>
</html>

Post a Comment

0 Comments