-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex_Tables.html
More file actions
118 lines (101 loc) · 3.23 KB
/
index_Tables.html
File metadata and controls
118 lines (101 loc) · 3.23 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Tables</title>
<meta name="viewport" content="width=device-width",initialscale="1">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</head>
<body>
<div class="container">
<!-- creating tables using table tags-->
<!-- types of table: simple ; condensed ; striped -->
<h1>Simple Table</h1>
<table class="table">
<!-- Simple one-->
<thead>
<tr>
<th>FirstName</th>
<th>LastName</th>
<th>Score</th>
</tr>
</thead>
<tbody>
<tr>
<td>Simran</td>
<td>Sidhu</td>
<td>96</td>
</tr>
<tr>
<td>Rich</td>
<td>Singh</td>
<td>98</td>
</tr>
<tr>
<td>Panthom</td>
<td>Jackal</td>
<td>95</td>
</tr>
</tbody>
</table>
<!-- Condensed table - has relatively lesser padding in comparison to the simple table-->
<h1>Condensed Table -relatively less padded as compared to simple table</h1>
<table class="table table-condensed">
<thead>
<tr>
<th>ProductName</th>
<th>Quantity</th>
<th>Price</th>
</tr>
</thead>
<tbody>
<tr>
<td>Apple</td>
<td>5</td>
<td>10</td>
</tr>
<tr>
<td>Mango</td>
<td>6</td>
<td>5</td>
</tr>
<tr>
<td>Grape</td>
<td>15</td>
<td>100</td>
</tr>
</tbody>
</table>
<h1>Striped Table-- it just has a little tint</h1>
<table class="table table-striped">
<thead>
<th>Class</th>
<th>StudentCount</th>
<th>MaxCountAllowed</th>
</thead>
<tbody>
<tr>
<td>Math</td>
<td>80</td>
<td>100</td>
</tr>
<tr>
<td>Physics</td>
<td>90</td>
<td>100</td>
</tr>
<tr>
<td>Chemistry</td>
<td>89</td>
<td>100</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>