HTML3
HTML3
HTML
Introduction
1
HTML Spantitle style
Click to edit Master
2 2
Click to edit Master title style
<table>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
<tr>
<td>Juan</td>
<!-- This cell will take up space on
two rows -->
<td rowspan="2">24</td>
</tr>
<tr>
<td>Tamad</td>
</tr>
</table>
3 3
HTML
Click to edit Master title style
4 4
Click
HTML to colspan
edit Master title style
Attribute
The colspan attribute in HTML specifies the number
of columns a cell should span. It allows the single
table cell to span the width of more than one cell or
column. It provides the same functionality as “merge
cell” in a spreadsheet program like Excel.
5 5
Click to edit Master title style
<table>
<tr>
<th colspan="2">Expense</th>
</tr>
<tr>
<td>Juan</td>
<td>$10</td>
</tr>
<tr>
<td colspan="">John</td>
<td>$8</td>
</tr>
</table>
6 6
Click
HTML to colgroup
edit MasterAttribute
title style
7 7
<table>
Click to edit Master title style
<colgroup>
<col span="2"
style="background-color: green; color: white" />
<col style="background-color: gray" />
</colgroup>
<tr>
<th>STUDENT</th>
<th>COURSE</th>
<th>AGE</th>
</tr>
<tr>
<td>Pepito Manaluto</td>
<td>Comp Scie</td>
<td>19</td>
</tr>
<tr>
<td>Pedring</td>
<td>IT</td>
<td>23</td>
</tr>
</table>
8 8
Click to edit Master title style
HTML <hr> size Attribute
</body>
1010