FRAME (<frame>) Tag

by Jai 06-Jul-19

0 193


HTML <frame> tag is used to divide a webpage into multiple sections or frames within a <frameset>. Each frame can contain different web pages. Every individual <frame> in a <frameset> use different attributes, like scrolling, border, the ability to resize, etc.

This tag has been removed in HTML5 and it should not be used anymore. You can use HTML <iframe> tag  instead of this. It is not used by the modern web page of HTML because its required Start and end tag. As it always come with <frameset> tag so there is no need to use <body> Tag for this.

Program:

<!DOCTYPE html>
<html>
<head>
<title>Frame tag</title>
</head>
<frameset cols="20%,30%,50%">
<frame src="f1.html">
<frame src="f2.html">
<frame src="f3.html">
</frameset>
</html>

Output:

FRAME (<frame>) Tag


Share:


Comments

    Waiting for your comments

Leave a Reply