-
Notifications
You must be signed in to change notification settings - Fork 0
/
table.html
54 lines (51 loc) · 1.89 KB
/
table.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
49
50
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<title>
table example
</title>
</head>
<body>
<pre>
<table border="1">
<caption style="color:indigo">ACADEMICS</caption><!--table heading-->
<thead style="color:red">
<tr><!--first we create row under that we create table -->
<th>EDUCATION</th><!--th tag is used to give colum as heading-->
<th>YEAR</th>
<th>PERCENTAGE</th>
<th>COLLEGE</th>
</tr>
</thead>
<body style="color:green">
<tr>
<td>btech</td><!--td tag is used to give COLUMN DATA FILLING we can input anything img , url etc..-->
<td>2019-2023</td>
<td>7.65sgpa</td>
<td>IIIT Bhopal</td>
</tr>
<tr>
<td>intermmediate</td>
<td>2016-2018</td>
<td>81%</td>
<td>ST.XAVIER'S COLLEGE Ranchi</td>
</tr>
<tr>
<td>matriculation</td>
<td>2015-2016</td>
<td>81.7%</td>
<td>GYAN BHARTI NAWADHA</td>
</tr>
</body>
<tfoot style="color:red"><!--tfoot is used to know what is the column name if table is too long nd we scroll down-->
<tr><!--first we create row under that we create table -->
<th>EDUCATION</th><!--th tag is used to give colum as heading-->
<th>YEAR</th>
<th>PERCENTAGE</th>
<th>COLLEGE</th>
</tr>
</foot>
</table>
</pre>
</body>
</html>