-
Notifications
You must be signed in to change notification settings - Fork 1
/
18 table part 1.html
54 lines (49 loc) · 963 Bytes
/
18 table part 1.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</title>
</head>
<style>
table {
width: 500px;
height: 100px;
border: 1px solid black;
/*cellspacing*/
border-spacing: 2px;
}
td,th{
border: 2px solid black;
/*cellpadding*/
padding: 15px;
}
tr{
text-align: center;
}
</style>
<body>
<table>
<caption style="font-family:fantasy";> Student Info </caption>
<thead>
<tr align="center">
<th> ID </th>
<th> Name </th>
<th> GPA </th>
</tr>
</thead>
<tbody>
<tr align="center">
<td> 2019-1-60-063 </td>
<td> Sazzad Hossen </td>
<td> 3.32 </td>
</tr>
</tbody>
<tbody>
<tr align="center">
<td> 2019-1-60-064 </td>
<td> ANJILA </td>
<td> 3.50 </td>
</tr>
</tbody>
</table>
</body>
</html>