Page 5 - LoudOffice_Guide-to-HTML_Part-II_Advanced.PDF
P. 5
< c e n t e r >
< t a b l e w i d t h = " 5 0 % " b o r d e r = " 1 " c e l l s p a c i n g = " 5 "
c e l l p a d d i n g = " 1 0 " >
< t r >
< t d > O n e < / t d >
< t d > T w o < / t d >
< / t r >
< t r >
< t d > T h r e e < / t d >
< t d > F o u r < / t d >
< / t r >
< / t a b l e >
< / c e n t e r >
These items can be used together to achieve some very interesting results:
< t a b l e w i d t h = " 5 0 % " b o r d e r = " 1 0 " c e l l s p a c i n g = " 5 " c e l l p a d d i n g = " 1 0 " >
< t a b l e w i d t h = " 1 2 5 " b o r d e r = " 2 5 " c e l l s p a c i n g = " 1 0 " c e l l p a d d i n g = " 1 2 " >
Headings and Captions
Heading and captions are used in tables to either name your table or apply special
formatting to the first row of data.
Ø Captions are declared using the < c a p t i o n > tag and will appear centered
immediately above or below the table. Captions do not have any special formatting,
but can be marked up with normal HTML.
The a l i g n attribute is used with the < c a p t i o n > tag, and can values of top
o
(which is the default) and bottom.
LoudOffice.com Guide to HTML – Part II Page 5