HTML <frame> Tag
This tag is not supported in HTML5
<frame> HTML element defines the properties of a single frame into which the browser window is divided. This element should be located in the
<frameset> container, which also determines the way the page is laid out in separate areas. An independent web page defined using the src attribute is loaded into each of these areas. Although the
<frame> element does not have required attributes, it is recommended that each frame be given its name through the name attribute. This is especially important if you need to load a document into another using a link from one frame.
- Permitted Parents
- None. It is an empty element.
- Start/End Tags
- Start tag: required, End tag: forbidden
<frame src="frame_a.php" />
<frame src="frame_b.php" />
<frame src="frame_c.php" />
|name||Assigns a name to a frame. This is useful for loading contents into one frame from another.|
|longdesc||A long description - this can elaborate on a shorter description specified with the title attribute.|
|src||Location of the frame contents (for example, the HTML page to be loaded into the frame).|
|noresize||Specifies whether the frame is resizable or not (i.e. whether the user can resize the frame or not).|
Whether the frame should be scrollable or not (i.e.
should scrollbars appear).
|frameborder||Whether the frame should have a border or not.
|marginwidth||Specifies the margin, in pixels, between the frame's contents and it's left and right margins.|
|marginheight||Specifies the margin, in pixels, between the frame's contents and it's top and bottom margins.|
|class||Specifies a classname for an element.|
|id||Specifies a unique id for an element.|
|title||Specifies a title to associate with the element. Many browsers will display this when the cursor hovers over the element (similar to a "tool tip").|
|style||Specifies an inline style for an element.|
|Tablets / Mobile|
Last updated by CSSPortal on: 5th December 2019