You are on page 1of 1

FRAMES

The <frame> tag defines one particular window (frame) within a <frameset>.

Each <frame> in a <frameset> can have different attributes, such as border, scrolling, the
ability to resize, etc.

Attribute Value Description

0 Not supported in HTML5.


frameborder
1 Specifies whether or not to display a border around a frame
Not supported in HTML5.
longdesc URL Specifies a page that contains a long description of the content
of a frame
Not supported in HTML5.
marginheight pixels
Specifies the top and bottom margins of a frame
Not supported in HTML5.
marginwidth pixels
Specifies the left and right margins of a frame
Not supported in HTML5.
name text
Specifies the name of a frame
Not supported in HTML5.
noresize noresize
Specifies that a frame is not resizable
yes
Not supported in HTML5.
scrolling no
Specifies whether or not to display scrollbars in a frame
auto
Not supported in HTML5.
src URL
Specifies the URL of the document to show in a frame

Example:

<!DOCTYPE html>

<html>

<frameset cols="25%,*,25%">

<frame src="frame_a.html">

<frame src="frame_b.html">

<frame src="frame_c.html">

</frameset>

</html>

You might also like