-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
119 lines (114 loc) · 3.07 KB
/
index.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
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
119
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Task 5 - HTML Tables, properties</title>
<link href="CSS/Index.css" rel="stylesheet">
</head>
<body>
<!-- tr>th*5^tr*10>td*5-->
<h1>HTML Tables, properties</h1>
<table id="mytable">
<h2>Illustration table</h2>
<caption>Additonal text under the table.</caption>
<tr>
<colgroup>
<col span="2" class="colons" >
<col span="2" class="theRest">
<col style="visibility: collapse;">
</colgroup>
<th colspan="2"scope="col">One</th>
<th scope="col">Two</th>
<th scope="col">Three</th>
<th scope="col">Four</th>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
</table>
<br>
<h2>This is a demonstration how you can use vertical-align to align a text in a cell </h2>
<!--I've used external css for styling, -->
<table class="mytable2">
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
<td class="bottom">Data</td>
<td>
<p>When you put your mousepointer on the yellow cell, you will experiance how we can use vertical-aling:, to position the text how we want it in a cell. In this example we're starting with the value bottom and ending with top.</p>
</td>
</tr>
</tr>
</table><br>
</body>
</html>