Sub Window | WebReference

Sub Window

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Sub Window (Frame)

<frame>

Description: Defines a window, called a frame, used to display content independent of another window.

Browser Compatibility: NN: 2.0+ / IE: 2.0+ / Opera: 4+

Attributes:
  • class
  • frameborder
  • id
  • longdesc
  • marginheight
  • marginwidth
  • name
  • noresize
  • scrolling
  • src
  • style
  • title

Code Example:

<frameset rows="30%,50%">
<frame src="index2.html" name="main">
</frameset>

XHTML Notes: Because it is an empty element, the XHTML 1.0 specification requires a trailing slash: <frame />




Created: March 15, 2005

URL: http://webreference.com/html/reference/specs/