02
e
vai ter
Write html code to divide browser window into two vertical sections and left section should display the
name of the Hotel
na di
e
Answers
You must use <frame> tag to divide the we page into two.
Explanation:
<html>
<head>
<title>Splitting the web page into 2</title>
</head>
<frameset cols = "50%, *, ">
<frame name = "left" src ="C:/Users/Home/Desktop/leftpage.html" />
<frame name = "right" src ="C:/Users/Home/Desktop/rightpage.html" />
<noframes>
<body>The browser you are working does
not support frames.</body>
</noframes>
</frameset>
</html>
In leftpage.html, write the following code:
<html>
<head>
<body> International hotel
<body>
</head>
</html>
<frameset> is a container tag which holds all the frames. <frame> tag is used to load the web page / any file associated with it. <frameset> is used to split the web page either into rows or into columns.
To Know More:
1. https://brainly.in/question/6981089
What are the three attribute of frameset tag
2. https://brainly.in/question/13672360
Describe the frames and it's tag