Created
November 10, 2023 14:06
-
-
Save komuw/e9aef0207b7bb86a6137d1cee0334f9a to your computer and use it in GitHub Desktop.
nested html table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<style> | |
table, th, td { | |
border:1px solid; | |
} | |
</style> | |
<body> | |
<h2>A basic HTML table</h2> | |
<table style="width:100%"> | |
<tr> | |
<th>Morning</th> | |
<th>Lunch</th> | |
</tr> | |
<tr> | |
<td> | |
<!-- You can create a nested table inside another table --> | |
<table> | |
<tr> | |
<th>9am-10am</th> | |
<th>10am-11am</th> | |
<th>11am-12pm</th> | |
</tr> | |
</table> | |
<!-- You can create a nested table inside another table --> | |
</td> | |
<td>1pm-2pm</td> | |
</tr> | |
<tr> | |
<td>Devt meeting</td> | |
<td> </td> | |
</tr> | |
</table> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment