-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.html
81 lines (76 loc) · 3.03 KB
/
template.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
<!DOCTYPE html>
<html lang="en">
<!-- Template based on http://udacity.github.io/frontend-nanodegree-styleguide/ -->
<!-- bigger project https://github.com/h5bp/html5-boilerplate -->
<!-- TODO: delete this comment block after reviewing
All code lower case, except:
text/CDATA
No trailing whitespace
Use UTF-8 (no BOM) for source files
Use comments to explain code where needed|possible
Mark todos and action items with TODO:
TODO: {action item}
{semantic} {valid} html5
Do not explicitly close self closing elements, ie <br> not <br />; <img> not <img />
Provide alternative content text for multimedia (unless only decorative)
alt, transcripts, captions
Separate structure from presentation from behaviour (.html .css .js)
Keep interaction to a minimum
Do not use entity references (not needed with utf-8) except < &
Use new line for every block, list, table element; indent every such child element
Use double quotes for attribute values
<a href="login/" class="btn btn-secondary">Login</a>
-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Template</title><!-- TODO: fill in a real title -->
<!-- Bootstrap -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!--<link rel="stylesheet" href="http://normalize-css.googlecode.com/svn/trunk/normalize.css"/> -->
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> -->
<!-- Google Hosted Libraries: https://developers.google.com/speed/libraries/devguide -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
</head>
<body>
<article><h1>This is an article.</h1></article>
<!-- TODO: remove following block indent examples after review -->
<blockquote>
<p><em>Space</em>, the final frontier.</p>
</blockquote>
<ul>
<li>Moe</li>
<li>Curry</li>
<li>Larry</li>
</ul>
<table>
<thead>
<tr>
<th scope="col">Income</th>
<th scope="col">Taxes</th>
</tr>
</thead>
<tbody>
<tr>
<td>$5.00</td>
<td>$4.50</td>
</tr>
</tbody>
</table>
<!-- TODO: remove above block indent examples after review -->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>