HTML <frameset> tag (Not supported in HTML5)


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.

Syntax:

<frameset cols=" ">............</frameset>  

Following are some specifications about the HTML <frameset> tag

DisplayBlock
Start tag/End tagBoth Start and End Tag
UsageFrames

Example 1:

<!DOCTYPE html>  
<html>  
<head>  
    <title>Frame tag</title>  
</head>  
  <frameset cols="50%,50%">  
    <frame  src="https://www.google.com/html-table">  
    <frame  src="https://www.google.com/css-table">     
   </frameset>  
</html>  

Output:

HTML frameset tag

Attribute

Tag-specific attribute

AttributeValueDescription
colsPixels
%
*
It specifies the number and size of column spaces in the frameset. (Not Supported in HTML5)
rowsPixels
%
*
It specifies the number and size of the rows spaces in the frameset. (Not Supported in HTML5)

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<frameset>YesYesYesYesYes

Leave a Reply

Your email address will not be published. Required fields are marked *