In a page with frames, this element defines how the a specific frame looks and
what is initially shown inside the frame, when the framed page is loaded.
This element is only allowed inside a FRAMESET
<![ %HTML.Frameset; [
<!-- reserved frame names start with "_" otherwise starts with letter -->
<!ELEMENT FRAME - O EMPTY -- subwindow -->
%coreattrs; -- id, class, style, title --
longdesc %URI; #IMPLIED -- link to long description
(complements title) --
name CDATA #IMPLIED -- name of frame for targetting --
src %URI; #IMPLIED -- source of frame content --
frameborder (1|0) 1 -- request frame borders? --
marginwidth %Pixels; #IMPLIED -- margin widths in pixels --
marginheight %Pixels; #IMPLIED -- margin height in pixels --
noresize (noresize) #IMPLIED -- allow users to resize frames? --
scrolling (yes|no|auto) auto -- scrollbar or none --
HTML 4.0 DTD,
All Rights Reserved."
Give the border of the frame a color.
Because frame borders are shared, the browser must resolve any border color
If there is a conflict for two colors of equal priority both set on the same
edge, the behavior is undefined.
- Any attribute appearing in the outermost FRAMESET has the lowest priority.
- This attribute is overridden by any attribute used in a nested FRAMESET
- Finally, any BORDERCOLOR attribute in the current FRAME element overrides
all previous FRAMESET element uses.
A frameborder is a separator between this frame and other frames. Possible
values are :
There will borders between this frame and other frames. This is the default.
No borders will be drawn between this frame and other frames.
With this attribute you can supply the URI of a document that contains a long
description of the frame. This attribute supplements the TITLE attribute, which
holds the title of the frame.
This attribute can be useful for non-visual browsers.
This attribute is used to control the vertical margins for the frame. If
specified, the value for MARGINHEIGHT is in pixels. Margins can not be less
than one-so that frame objects will not touch frame edges-and can not be
specified so that there is no space for the document contents. The MARGINHEIGHT
attribute is optional; by default, all frames default to letting the browser
decide on an appropriate margin width.
This attribute is used to control the horizontal margins for the frame. If
specified, the value for MARGINWIDTH is in pixels. Margins can not be less than
one-so that frame objects will not touch frame edges-and can not be specified
so that there is no space for the document contents. The MARGINWIDTH attribute
is optional; by default, all frames default to letting the browser decide on an
appropriate margin width.
The NAME attribute is used to assign a name to a frame so it can be targeted by
links in other documents (These are usually located in other frames in the same
document). The NAME attribute is optional; by default all windows are unnamed.
Names must begin with an alphanumeric character. All other window names will be
Named frames can have their window contents targeted with the TARGET attribute
of the A element
The NORESIZE attribute is a flag that indicates that the frame is not resizable
by the user. Users typically resize frames by dragging a frame edge to a new
position. Note that if any frame adjacent to an edge is not resizable, that
entire edge will be restricted from moving. This will effect the resizability
of other frames.The NORESIZE attribute is optional; by default all frames are
The SCROLLING attribute is used to describe if the user is able to scroll the
contents of a frame.
The SCROLLING attribute is optional; the default value is AUTO.
The user can scroll inside the frame. The scrollbar is always visible, even
when the contents of the frame fit inside the frame.
The user can't scroll the contents of the frame. No scrollbars are
available, even when the contents doesn't fit completely in the frame.
When necessary, the user can scroll through the frame. Scrollbars are only
available when they are needed.
The SRC attribute takes as its value the URL of the document to be displayed in
this particular frame. FRAMEs without SRC attributes are displayed as a blank
space the size the frame would have been.
Go and visit another <A href="FRAME1.html">framed</A> document.
Go and visit another framed document.