frame Attribute


 

Where to use the frame Attribute

  • As Type Enumeration (void | above | below | hsides | lhs | rhs | vsides | box | border):
    frame is declared on the element: table

Description

The frame attribute specifies which sides of the frame around the outside of a table should be visible.

The frame attribute is not present in the *W3C XHTML 1.1 Basic Tables Module.

Possible values are:

void
None of the sides (default value if border is absent)
above
Only the top side
below
Only the bottom side
hsides
Only the top and bottom sides
lhs
Only the left-hand side
rhs
Only the right-hand side
vsides
Only the left-hand and right-hand sides
box
All of the four sides
border
All of the four sides (same as "box") (default value if border is non-zero)

With an explicit border="0", frame is fixed at "void".

See the border attribute for more information (and also rules attribute).


Page Footer & Copyright

Copyright © Sally Maughan 2005-2009 (Page last updated on 16 May 2009)

*Valid XHTML 1.1 - hosted by *Openstrike

Content based on the W3C Working Draft: *XHTML 1.1 and Recommendation: *XHTML Modularisation 1.1.

W3C, XHTML, XML, HTML, CSS and MathML are *Trademarks of the W3C (*MIT, *ERCIM, *Keio) with which the site's author has no connection.


Up, Next & Previous Links

Your Location

Home > XHTML 1.1 Home > XHTML 1.1 Indexes > Attribute Index (XHTML 1.1) > frame Attribute (XHTML 1.1)