Page 231 - DCAP109_GRAPHIC_TOOLS
P. 231
Graphic Tools
Notes <td>$80</td>
</tr>
</table>
</body>
</html>
Output
The table tag includes many more attributes. Some of them are discussed below:
Borders
They are used to provide borders to a table.
Example: <TABLE BORDER=2>
Table Size
This attribute controls the size of the table.
Example: <TABLE WIDTH=50%>
Alignment
You can control the position of data in the table cell.
Example: <TD ALIGN=”center”>HTML</TD>
Images in Table
Images can also be used and manipulated in a table data cell.
!
Caution Save the image in the folder where you have placed your table HTML file.
Example: <TD ><IMG SRC=”HTML.gif’ WIDTH=50 HEIGHT=50 </TD>
224 LOVELY PROFESSIONAL UNIVERSITY