Slip 13 - B) Write a HTML code which will divide web page in three frames. First frame should consists of name of college as heading. Second frame should consists of name of courses with hyperlink. Once click on any course it should display subject of that course in third frame.

Solution:

Heading.html

<html>
<body>
<h1 align="center"> SPPU <h1>
</body>
</html>
List.html
<html>
<body>
<ol type="1">
<li> <a href="BCA.html" target="frm3"> BCA </a></li>
<li>BCOM </li>
<li>BSC</li>
<li>BA </li>
</ol>
</body>
</html>

BCA.html

<html>
<body>
Bachelor in Computer Application (BCA) is an undergraduate degree course in
24
computer applications.
With the rapid growth of IT industry in India, the demand of computer professionals is increasing day by day.
This increasing growth of IT industry has created a lot of opportunities for the computer graduates.
</body>
</html>

Frame.html

<html>
<frameset rows="20%,*">
<frame src="heading.html"></frame>
<frameset cols="40%,*">
<frame src="list.html"></frame>
<frame src="" name="frm3"></frame>
</frameset>
</frameset>
</html>

Post a Comment

0 Comments