<html> tag represents the root of an HTML document.
<head> element is a container for metadata (data about data) and is placed between the <html> tag and the <body> tag.
The following elements can go inside the <head>
element:
- <title> (required in every HTML document)
- <style>
- <base>
- <link>
- <meta>
- <script>
- <noscript>
<table> tag defines an HTML table.
<tr> element defines a table row.
<th> element defines a table header.
<td>element defines a table cell.
colspan attribute specifies the number of columns a cell should span.
rowspan attribute specifies the number of rows a cell should span.
<b> bold.
<br> break.
<i> italic.
timetable.html
<html>
<head>
<table border="2">
<caption>TIMETABLE</caption>
<tr>
<th></th>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
<th>5</th>
<th>6</th>
</tr>
<tr>
<th>Monday</th>
<td><b>Maths</b><br><i>Rinu</i></td>
<td><b>Botany</b><br><i>Shweta</i></td>
<td><b>English</b><br><i>Victoria</i></td>
<td><b>Zoology</b><br><i>Shali</i></td>
<td><b>Physics</b><br><i>Bindu</i></td>
<td><b>Hindi</b><br><i>Lini</i></td>
</tr>
<tr>
<th>Tuesday</th>
<td><b>Physics</b><br><i>Bindu</i></td>
<td><b>Hindi</b><br><i>Lini</i></td>
<td><b>Maths</b><br><i>Rinu</i></td>
<td><b>Botany</b><br><i>Shweta</i></td>
<td><b>English</b><br><i>Victoria</i></td>
<td><b>Zoology</b><br><i>Shali</i></td>
</tr>
<tr>
<th>Wednesday</th>
<td colspan="3"> <b>Dance/Music</b><br><i>Shreya/Shruthi</i></td>
<td><b>Zoology</b><br><i>Shali</i></td>
<td><b>Physics</b><br><i>Bindu</i></td>
<td><b>Hindi</b><br><i>Lini</i></td>
</tr>
<tr>
<th>Thursday</th>
<td><b>Hindi</b><br><i>Lini</i></td>
<td><b>Maths</b><br><i>Rinu</i></td>
<td><b>Botany</b><br><i>Shweta</i></td>
<td><b>Zoology</b><br><i>Shali</i></td>
<td><b>Physics</b><br><i>Bindu</i></td>
<td><b>Library</b><br><i>Meenu</i></td>
</tr>
<tr>
<th>Friday</th>
<td><b>Maths</b><br><i>Rinu</i></td>
<td><b>Botany</b><br><i>Shweta</i></td>
<td><b>English</b><br><i>Victoria</i></td>
<td colspan="3" ><b>Computer Lab</b><br><i>Swathy</i></td>
</th>
</tr>
</table>
</head>
</html>
0 Comments