-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
70 lines (70 loc) · 4.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Responsive accessible table</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1>Responsive accessible table</h1>
<table class="responsive-table" role="table">
<caption>My top 6 favourite movies</caption>
<thead role="rowgroup">
<tr role="row">
<th role="columnheader" scope="col">Title</th>
<th role="columnheader" scope="col">Release year</th>
<th role="columnheader" scope="col">Genre</th>
<th role="columnheader" scope="col">Director</th>
<th role="columnheader" scope="col">IMDb rating</th>
</tr>
</thead>
<tbody>
<tr role="row">
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Title</span>Jurassic Park</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Release year</span>1993</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Genre</span>Action, Adventure, Sci-Fi</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Director</span>Steven Spielberg</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">IMDb rating</span>8.1 out of 10</td>
</tr>
<tr role="row">
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Title</span>Halloween</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Release year</span>1978</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Genre</span>Horror</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Director</span>John Carpenter</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">IMDb rating</span>7.8 out of 10</td>
</tr>
<tr role="row">
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Title</span>Saw</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Release year</span>2004</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Genre</span>Horror</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Director</span>James Wan</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">IMDb rating</span>7.6 out of 10</td>
</tr>
<tr role="row">
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Title</span>The Lord of the Rings: The Two Towers</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Release year</span>2002</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Genre</span>Adventure</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Director</span>Peter Jackson</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">IMDb rating</span>8.7 out of 10</td>
</tr>
<tr role="row">
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Title</span>Anchorman: The Legend of Ron Burgundy</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Release year</span>2004</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Genre</span>Comedy</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Director</span>Adam McKay</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">IMDb rating</span>7.2 out of 10</td>
</tr>
<tr role="row">
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Title</span>Train to Busan</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Release year</span>2016</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Genre</span>Horror</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">Director</span>Sang-ho Yeonn</td>
<td role="cell"><span class="responsive-table__heading" aria-hidden="true">IMDb rating</span>7.6 out of 10</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>