HOME | basics of HTML | basics of PHP | neobux | onbux | readbud | templates |
| ||||||||||||||||||||||||||||||||||||||||||
Tables
HTML Tables
Try it Yourself - ExamplesTablesHow to create tables in an HTML document. Table borders (You can find more examples at the bottom of this page). HTML TablesTables are defined with the <table> tag. A table is divided into rows (with the <tr> tag), and each row is divided into data cells (with the <td> tag). td stands for "table data," and holds the content of a data cell. A <td> tag can contain text, links, images, lists, forms, other tables, etc. Table Example
How the HTML code above looks in a browser:
HTML Tables and the Border AttributeIf you do not specify a border attribute, the table will be displayed without borders. Sometimes this can be useful, but most of the time, we want the borders to show.
HTML Table HeadersHeader information in a table are defined with the <th> tag. All major browsers will display the text in the <th> element as bold and centered.
How the HTML code above looks in your browser:
More ExamplesTables without bordersHow to create tables without borders. Table headers Table with a caption Table cells that span more
than one row/column Tags inside a table Cell padding Cell spacing The frame attribute HTML Table Tags
|
||||||||||||||||||||||||||||||||||||||||||
© 2011 d4download.orgfree, All Rights Reserved.
Design created by diljith d4download.orgfree.com veriosn 2.0
HOME | basics of HTML | basics of PHP | neobux | onbux | readbud | templates |