-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPart0009.html
48 lines (47 loc) · 1.81 KB
/
Part0009.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!--This page is all about:
Lists and Tables-->
<!DOCTYPE html>
<html>
<head><title>Lists & Tables</title></head>
<body>
<!--Let's say we wanted to put the content in form of a list or table,
how can we do that.
well, we have something called as Ordered List / Un-Ordered list-->
<ol> <!-- OL stands for Ordered List-->
<li>APPLE</li> <!-- LI stands for List Item, and it's a block element-->
<li>PEARS</li>
<li>GRAPE</li>
</ol>
<ul> <!-- UL stands for Un-Ordered List-->
<li>APPLE</li>
<li>CELKON</li>
<li>NOKIA</li>
</ul>
<table> <!-- Table is a tag, that initiates the TABLE usage-->
<caption>SAMPLE TABLE DATA</caption> <!-- Caption is used to Name the table.-->
<thead> <!-- Table header -> To semantically represent the header section in a table. -->
<tr> <!-- TR stands for Table Row-->
<th>ITEM-1</th> <!-- header of that row. generally depicted in bold.-->
<th>ITEM-2</th>
<th>ITEM-3</th>
</tr>
</thead>
<tbody><!--TBody -> Table body -> to semantically represent the Table body.-->
<tr>
<td>ITEM-01</td> <!-- TD stands for Table Data.-->
<td>ITEM-02</td>
<td>ITEM-03</td>
</tr>
<tr>
<td>ITEM-11</td>
<td>ITEM-12</td>
<td>ITEM-13</td>
</tr>
<tr>
<td colspan="3">TOTAL DATA IN 3 COLS</td> <!-- Colspan is an attribute of td & th
which say how many cols does this element take.-->
</tr>
</tbody>
</table>
</body>
</html>