Saturday, December 10, 2011

How to make an html Table



hey! Crazyp01 from iPhone here with Blogger app! I wanna teach ya how to make tables! Sorry about the bad grammar...

1. tables 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:
row 1, cell 1 row 1, cell 2
row 2, cell 1 row 2, cell 2
The HTML shows two rows and two columns. 2. HTML Tables and the Border Attribute If 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. To display a table with borders, specify the border attribute:
Row 1, cell 1 Row 1, cell 2
3. HTML Table Headers Header information in a table are defined with the tag. All major browsers will display the text in the element as bold and centered.
Header 1 Header 2
row 1, cell 1 row 1, cell 2
row 2, cell 1 row 2, cell 2
The HTML shows 3 rows and 2 columns. The top row has bolder font. By the way... I didn't type this all from my iPhone... I've been workin' on this post! And copied and pasted it from somewhere! Thanks! Crazyp01, HTML Penguin Admin.

No comments:

Post a Comment