Page 371 - Web Applications (803) Class 11
P. 371
15. Write HTML code to create the following webpage:
A1.html
B.html
A2.html
Ans. <html>
<head>
<title>HTML Frames</title>
</head>
<frameset cols = “20%,80%”>
<frame name = “first” src = “B.HTML”>
<frameset rows = “50%,50%”>
<frame name = “second” src = “A1.HTML”>
<frame name = “third” src = “A2.HTML”>
</frameset> </frameset>
</html>
16. Learn to create a parallax effect! Try out the following code.
Ans. <html>
<head>
<style>
.parallax {
/* The image used */
background-image: url(“beach.jpeg”);
/* Set a specific height */
min-height: 550px;
Practical Work 369

