![]() |
Tables![]() ![]() ![]() ![]() ![]()
In print publications, tables are a basic design element. They're used to present data in rows and columns. They make comparative analysis more understandable. They're also used to divide the printed page into sections for layout purposes. Tables should be a basic design element in your Web pages, too. HTML tables are composed row by row: a row is indicated with the <TR> (table row) tag, and the data is separated with either the <TH> (table header) or <TD> (table data) tags. <TR> tag can be compared to a line break, signaling that the following data starts a new table row. Building HTML tables is the most complex task of all for an HTML author. The <TABLE> tag is used for this purpose. The general <TABLE> tag is made up of several smaller tags that format and display a table. CAPTION - Specifies the table caption. TR - Specifies a table row. TH - Specifies a table cell containing a heading. TD - Specifies a table cell containing data. Each and every tag mentioned above has some attribute associated with it for alignment. ALIGN attribute is associated with <CAPTION>, <TR>, <TD>, <TH> tags. The <TR> tag has the attribute VALIGN associated with it. Let us create a basic table. <html> <h3>Table With Border</h3> <tr><td>TR</td><td>Specifies a Table Row</td></tr> <tr><td>TH</td><td>Specifies a Table Cell Containing Heading</td></tr> <tr><td>TD</td><td>Specifies a Table Data</td></tr>
|
|
Domain NamesHTML Evalution of HTML Simple HTML Code Structure of an HTML Document Basic HTML Tags HTML Color Code Background Code Text formatting Tags Tag Attributes and Character Entities Lists and Menus HTML Image CodeHTML Link Code Internal Links HTML Music and Video Code HTML Font Code HTML Forms Tables Image Maps Server Side Image Map Client Side Image Map Defining a Non Rectangular Area HTML Frames Creating Multiple Frames Style Sheets HTML EditorWeb DesignWeb HostingE Commerce |
| Home | Web Hosting | Web Design | Sitemap |
| Copyright (C) 2007. Web Domain design hosting. All rights reserved. |