Page 230 - DCAP109_GRAPHIC_TOOLS
P. 230
Unit 10: Working of Web Designing
Notes
Figure 10.11: Table Structure
Source: http://reference.sitepoint.com/css/tableformatting
10.3.1 Main Tags of Table
The basic tags used to make a table are:
<TABLE>: This tag is used to tell the browser that “this is a table”, along with some attributes
like size, border width and a few other things.
<TH>: This is used to give a table heading
<TD>: This is used to enter table data
<TR>: This gives row breaks
Example:
<html>
<body>
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
LOVELY PROFESSIONAL UNIVERSITY 223