HTML and CSS Reference
In-Depth Information
.
Output
FIGURE 10.31
The class sched-
ule with a head,
two bodies, and a
foot.
Other Table Elements and Attributes
Table 10.1 presents some of the additional elements and attributes that pertain to tables.
10
TABLE 10.1
Other Table Elements and Attributes
Attribute
Applied to Element
Use
See “Use” column
Specifies a character to be used as an axis
to align the contents of a cell. For example,
you can use it to align a decimal point in
numeric values. Can be applied to colgroup ,
col , tbody , thead , tfoot , tr , td , and th
elements. Removed from HTML5.
char
See “Use” column
Specifies the amount of offset applied to the
first occurrence of the alignment character
that is specified in the char attribute.
Applies to colgroup , col , tbody , thead ,
tfoot , tr , td , and th elements. Removed
from HTML5.
charoff
Provides a more detailed description of the
contents of the table and is primarily used
with nonvisual browsers.
summary
<table>
How Tables Are Used
In this lesson, I explained the usage of tables in publishing tabular data. That was the
original purpose for HTML tables. However, in 1996, Netscape 2.0 introduced the option
of turning off table borders, and this, along with other limitations in HTML, changed the
way tables were used.
 
 
 
 
Search WWH ::




Custom Search