HTML <frameset> tag is used to contain the group of frames which can be controlled and styled as a unit. The <frameset> element also specifies the number of rows and columns in the frameset, and how much space they will occupy in a frame.
Note: Do not use HTML <frameset> element as it is deprecated and not supported by HTML5, but you can use <iframe> tag instead.
Syntax
<frameset cols=" ">............</frameset>
Following are some specifications about the HTML <frameset> tag
Display | Block |
Start tag/End tag | Both Start and End Tag |
Usage | Frames |
Example 1
<!DOCTYPE html>
<html>
<head>
<title>Frame tag</title>
</head>
<frameset cols="50%,50%">
<frame src="https://www.javatpoint.com/html-table">
<frame src="https://www.javatpoint.com/css-table">
</frameset>
</html>
Output:
Leave a Reply