HTML and CSS Reference
In-Depth Information
a document but is of little use otherwise, particularly because it is not a
standard attribute.
10.2.1.12. The summary attribute
The summary attribute was introduced to HTML in the 4.0 standard. Its
value is a quote-enclosed string that describes the purpose and sum-
marizes the contents of the table. Its intended use, according to the
standard, is to provide extended access to nonvisual browsers, particu-
larly for users with disabilities.
10.2.1.13. The hspace and vspace attributes
As with images, give your table some extra space within the body of
your document. Use the nonstandard hspace and vspace attributes in the
<table> tag, each with a value equal to the number of pixels of space to
offset the table from the left and right or top and bottom, respectively,
of the enclosing text. Interestingly, all of the popular browsers, except
for Internet Explorer, support these as <table> attributes, even though
Internet Explorer supports them with the <img> tag.
10.2.2. Common Table Attributes
The HTML and XHTML standards, combined with the CSS standard,
provide a number of attributes common not only to the <table> tag and
the other table-creation tags, but to most other tags as well.
10.2.2.1. The id and title attributes
Use the id attribute with a quote-enclosed string value to uniquely
label a <table> tag for later reference by a hyperlink or an applet. Use
the title attribute with a string value to optionally title the table or
any of its segments for general reference. A title 's value need not be
 
Search WWH ::




Custom Search