HTMLHTML TutorialHTML Codes/Generators
HTML Background Code
HTML TagsHTML Color HTML Color Chart HTML Comment Box Code HTML Scrollbox Code HTML Text Code HTML Image Code HTML Marquee Code HTML Music Code HTML Video Code HTML Form Code HTML Frames Code HTML Entities HTML Examples HTML Help/Cheat Sheet HTML Templates More Codes... HTML Generator HTML Table Generator Marquee Generator Music Code Generator HTML Text Generator Text Box Generator MySpace Generators More Generators... HTML 5 Tags Create a Website |
HTML Table CodeYou can use the following HTML code to create a table in your HTML document. You can set the border to zero if you want the table border to be transparent. You can also check out the HTML Table Generator. Example HTML Table CodeHTML Code:
This results in:
TemplatesYou can use the following template as a basis for your HTML table codes. Simply fill in the blanks or remove uneeded attributes. Since HTML table code is made up of several tags, each tag is presented separately here. 1. The <table> TagFor an explanation of all the attributes, see the HTML table tag specifications.
2. The <tr> TagThis tag defines each row in the table. For an explanation of all the attributes, see the HTML tr tag specifications.
3. The <th> TagThis tag is optional and defines a header cell for header content. For an explanation of all the attributes, see the HTML th tag specifications.
4. The <td> TagThis tag defines each cell in the table - it's where you put the actual content of the table. For an explanation of all the attributes, see the HTML td tag specifications.
|
Need Website Content?
Get unique, quality digital content for your website.
|