HTML frameset Tag was used in HTML4, HTML frameset tag defines a set of frames with the help of frame tag which are used to embed web pages inside the main web page.
Table of Contents
Syntax of HTML frameset Tag
The Syntax of HTML frameset Tag is shown below, It has both starting tag and ending tag.
<frameset>
</frameset>
Usage of HTML frameset Tag
HTML frameset Tag was used to define a particular section with one or more than one sub sections inside, made up of frame tags. These sections contain embedded web pages inside the main web page.
HTML frameset Tag can contain more than one html frame tags.
HTML frameset Tag is a block level element.
Example of HTML frameset Tag
Simple example of HTML frameset Tag is shown below.
<frameset cols="25%,50%,25%">
<frame src="webpage1.html" >
<frame src="webpage2.html">
<frame src="webpage3.html">
</frameset>
HTML frameset tag is deprecated in HTML5 and it is not used anymore. One should use iframe tag instead.
Browser Support for HTML frameset Tag
HTML frameset Tag is supported by all major browsers including Safari and Internet Explorer.
Global Attributes Support in HTML frameset Tag
The HTML frameset Tag supports all Global Attributes.
Event Attributes Support in HTML frameset Tag
The HTML frameset Tag supports all Event Attributes.