Specification
Contents
Previous
Next

16.2 Layout of Frames

16.2.1 The FRAMESET Element

Click this anchor to see an extreme example of nested framesets (in many cases, the source of a frame is itself a frameset document). It should show a total of 64 frames, numbered in octal from 00 to 77.

16.2.2 The FRAME Element

Click here to see examples of some of the attributes of the FRAME tag. The pages there test several of the items below.

The top frames should have the margins OUTSIDE the borders, and scrollbars should be INSIDE any border provided (unfortunately most PC browsers render the margins as padding to the document, which is NOT what one would expect margins to do if specified on the FRAME element)

16.3 Specifying Target Frame Information

16.3.1 Specifying the Default Target for Links

Frames 3 and 5 in the example linked to in 16.2.2 above test two different ways of doing this.

16.3.2 Target Semantics

Frames 3, 4c, and 5 and in the 16.2.2 example have tests for this.

16.4 Alternate Content

16.4.1 The NOFRAMES Element

All framesets in the 16.2.1 example include this element, but it should only be rendered if frames are unsupported or disabled.

16.4.2 Long Descriptions of Frames

The upper-left frame of the 16.2.2 example includes the longdesc attribute. See if your browser can take you to it.

16.5 Inline Frames: The IFRAME Element

Wide bottom-aligned IFRAME (should not scroll):
Tall middle-aligned IFRAME (should scroll, but have no border):
Square top-aligned IFRAME:

Here are some with horizontal alignment, so text should probably wrap to the side. Left-Aligned IFRAME. This text should be to the right of the IFRAME.
Clear Left Line Break Test - this should work for IFRAMES as well as images.
Right-Aligned IFRAME. This text should be to the left of the IFRAME.
Clear Right Line Break Test - this should work for IFRAMES as well as images.
Text Between IFRAMEs.
Clear All Line Break Test - this should work for IFRAMES as well as images.

Valid HTML 4.01!