HTML <frame> (Window Region) Tag

❮ Previous Reference Next ❯

Deprecated: Not Supported in HTML5.

Example

<frameset rows="100,*">
  <frame name="contact" src="contact.html">
  <frame name="about" src="about.html">
  <noframes>
    <p>Sorry, this browser does not support frames.</p>
  </noframes>
</frameset>

Meaning

The <frame> element defines a nameable window region, known as a frame, that can independently display its own content.

Version: HTML 4 and 4.01


Standard Syntax

<frameset>
  <frame name="text" src="URL">
  <frame name="text" src="URL">
  <noframes>
    text
  </noframes>
</frameset>



Browser Support




Status







Attributes

Attribute Value Description
frameborder 0
1
Specifies the browser whether or not to display a border around the frame. The default value 1.
longdesc URL Specifies a link to a long description of the frame.
marginheight pixels Specifies the amount of space to be left between the frame's contents in its top and bottom margins.
marginwidth pixels Specifies the amount of space to be left between the frame's contents in its left and right margins.
name text specifies the assigns a name to the current frame.
noresize noresize Specifies that the frame window is not resizable by the users.
scrolling yes
no
auto
Specifies whether overflowing content in frame causes scroll bars to appear or not.
src URL Specifies the location of the document to show inside a frame.



Global Attributes

<frame> element also supports the Global Attributes in HTML.


Event Attributes

<frame> element also supports the Event Attributes in HTML.


❮ Previous Reference Next ❯