Tables in Dreamweaver
Tables in Dreamweaver have the same function as those in Word, Photoshop,
InDesign, Illustrator or others formatting or word processing softwares. That is to say they are used to present tabular data. But they have other purposes.
Indeed, the tables in Dreamweaver CS are used to control the layout in HTML (use of size for pages and insertion of text and images) and also to create a complex layout (image of the background, interleaving of another table, menu and insertion, etc.)
Here are the main tags for HTML tables
<TABLE>
signifies the presence of a table
<TH>
defines the header of this table
<TR>
determines the end of a line of table
<TD>
defines a table cell
Each HTML element is preceded by the characters <>
The end of an HTML element is identified by </>
width
informs us of the breadth
border
is the edge of the table. In this table we have a border of 1 pt.
class
announce that we have chosen for this table a style sheet or CSS that defines his own layout settings
Here is the HTML code that defines the above table:
<table width=”300″ border=”1″ class=”tabl”>
<tr>
<th Header colspan=”3″ scope=”col”> </ th>
</ Tr>
<tr>
TD <td width=”87″> </ td>
TD <td width=”98″> </ td>
TD <td width=”87″> </ td>
</ Tr>
<tr>
<td> </ td>
<td> </ td>
<td> </ td>
</tr>
</table>
Leave a Reply
Want to join the discussion?Feel free to contribute!