Full width home advertisement

How To

Science

Post Page Advertisement [Top]


How to Use Nested Tables
You can use one table inside another table. Not only tables you can use almost all the tags inside table data tag <td>.

Example

<!DOCTYPE html>

<html>

<head>

<title>HTML Table</title>

</head>

<body>

<table border="1" cellpadding="20" width="53%" height="100%">

<tr>

<td>row 1 column 1</td>

<td>row 1 column 2</td>

</tr>

<tr>

<td>row 2</td>

<td>

<table border="1" bordercolor="green" cellpadding="10" height="25">

<tr>

<td>Cell 1</td>

<td>Cell 2</td>

<td>Cell 3</td>

<td>Cell 4</td>

<td>Cell 5</td>

<td>Cell 6</td>

<td>Cell 7</td>

<td>Cell 8</td>

</tr>

</table>

</td>

</tr>

</table>

</body>

</html>


No comments:

Post a Comment

Bottom Ad [Post Page]

| Designed by Colorlib