0% found this document useful (0 votes)
15 views6 pages

Mern Stack Material 5

The document provides examples of HTML web pages using the deprecated `<frameset>` tag to create multiple frames. It covers various attributes such as `cols`, `rows`, `frameborder`, `border`, and `noresize`, demonstrating their usage with sample code. Each example illustrates how to structure frames and customize their appearance and behavior.

Uploaded by

prachothana.sri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views6 pages

Mern Stack Material 5

The document provides examples of HTML web pages using the deprecated `<frameset>` tag to create multiple frames. It covers various attributes such as `cols`, `rows`, `frameborder`, `border`, and `noresize`, demonstrating their usage with sample code. Each example illustrates how to structure frames and customize their appearance and behavior.

Uploaded by

prachothana.sri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

47. Design a web page demonstrating the usage of the `<frameset>` tag.

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 :

You might also like