Mern Stack Material 5
Mern Stack Material 5
Description:
The `<frameset>` tag was used to divide the browser window into multiple frames, each capable
of loading a separate web page. It replaces the `<body>` tag when used. Note: It is now
deprecated in HTML5.
Example:
<!DOCTYPE html>
<html>
<head><title>Frameset Example</title></head>
<frameset cols="50%,50%">
<frame src="https://www.example.com">
<frame src="https://www.wikipedia.org">
</frameset>
</html>
output :
48. Design a web page demonstrating the usage of the `cols` attribute in `<frameset>`.
Description:
The `cols` attribute defines how to divide the window vertically into columns. You can specify
percentages, pixels, or relative sizes.
Example:
<!DOCTYPE html>
<html>
<head><title>Frameset with Columns</title></head>
<frameset cols="30%,70%">
<frame src="https://www.example.com">
<frame src="https://www.wikipedia.org">
</frameset>
</html>
output :
49. Design a web page demonstrating the usage of the `rows` attribute in `<frameset>`.
Description:
The `rows` attribute divides the window horizontally into rows. Like `cols`, you can use
percentages, pixel values, or relative measurements.
Example:
Example:
<!DOCTYPE html>
<html>
<head><title>Frameset with Rows</title></head>
<frameset rows="40%,60%">
<frame src="https://www.example.com">
<frame src="https://www.wikipedia.org">
</frameset>
</html>
output :
50. Design a web page demonstrating the usage of the `frameborder` attribute in `<frameset>`.
Description:
The `frameborder` attribute specifies whether or not a border should be displayed between
frames. `frameborder="0"` removes the borders.
Example:
<!DOCTYPE html>
<html>
<head><title>Frameset without Borders</title></head>
<frameset cols="50%,50%" frameborder="0">
<frame src="https://www.example.com">
<frame src="https://www.wikipedia.org">
</frameset>
</html>
output :
51. Design a web page demonstrating the usage of the `border` attribute in `<frameset>`.
Description:
The `border` attribute defines the width (in pixels) of the borders between frames. A value of `0`
removes the borders completely.
Example :
<!DOCTYPE html>
<html>
<head><title>Frameset with Custom Border</title></head>
<frameset cols="50%,50%" border="5">
<frame src="https://www.example.com">
<frame src="https://www.wikipedia.org">
</frameset>
</html>
Output :
52. Design a web page demonstrating the usage of the `noresize` attribute in `<frame>`.
Description:
The `noresize attribute prevents users from resizing the frame manually. When added, the frame
stays fixed in size.
Example:
<!DOCTYPE html>
<html>
<head><title>Frame No Resize</title></head>
<frameset cols="50%,50%">
<frame src="https://www.example.com" noresize>
<frame src="https://www.wikipedia.org">
</frameset>
</html>
output :