HTML 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.

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

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.javatpoint.com/html-table">  

    <frame  src="https://www.javatpoint.com/css-table">     

   </frameset>  

</html>

Output:

HTML frameset tag


Comments

Leave a Reply

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