forked from iandevlin/html5bones
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (48 loc) · 1.99 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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>PAGE TITLE</title><!-- Site title only necessary on front page. 70 chars, relevant stuff first. -->
<meta name='description' content=''>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel='icon' type='image/x-icon' href='http://example.com/favicon.ico' />
<link href='css/style.css' rel='stylesheet' media='all'>
<!-- HTML5Shiv with Print --><!--[if lt IE 9]><script src='https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv-printshiv.min.js' media='all'></script><![endif]-->
</head>
<body>
<header role='banner' class='container'>
<h2>A title</h2>
</header>
<nav role='navigation'><!-- <nav> does not have to appear in <header> and does not need to be unique -->
</nav>
<div class='container'><!-- to wrap the whole site a <div> is still the best option -->
<main role='main'><!-- only ONE instance of this allowed. Wraps the key site content -->
<header>
<h1>Page title</h1>
<nav role='navigation'><!-- A second <nav> could be used for page navigation -->
</nav>
</header>
<article><!-- More than one <article> can appear on a page -->
<h3>A lesser title</h3>
<p>Blah, blah, blah!</p>
</article>
</main>
<aside role='complementary'><!-- role='complementary' used as the content supports the content of the main element -->
<h3>A lesser title</h3>
<p>Blah, blah, blah!</p>
</aside>
</div>
<footer role='contentinfo' class='container'><!-- role='contentinfo' is used as metadata relavent to page appears in this -->
<!-- A duplicate of the site navigation need NOT be in a <nav> element -->
<small>Copyright © <time datetime='2014'>2014</time></small><!-- note <time> element -->
</footer>
<script src='js/jquery-2.1.1.min.js'></script>
<script async src='js/production.min.js'></script>
<script>
(function(window,document,undefined){
})(this, document);
jQuery(document).ready(function($){
});
</script>
</body>
</html>