-
Notifications
You must be signed in to change notification settings - Fork 0
/
semantics.html
87 lines (75 loc) · 2.64 KB
/
semantics.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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8' />
<title>Semantic HTML</title>
</head>
<body>
<div class='page'>
<header>
<h1>Semantic Is Easy!</h1>
<nav>
<ul>
<li><a href='#'>Home</a></li>
<li><a href='#'>About</a></li>
<li><a href='#'>Blog</a></li>
<li><a href='#'>Sign Up</a></li>
</ul>
</nav>
</header>
<article>
<header>
<h1>Semantic HTML</h1>
<p>By Ebrahim Goodwill. Published <time datetime='1400-1-1'>Farvardin
3rd</time></p>
</header>
<aside class='advert'>
<img src='img/products/persian-saffron-g3cdf6700d_640.jpg' />
</aside>
<p>This is an example web page explaining HTML5 semantic markup.</p>
<section>
<h2>The Document Outline</h2>
<p>HTML5 includes several “sectioning content” elements that
affect the document outline.</p>
<h3>Headers</h3>
<p>The <code><header></code> element is one such sectioning
element.</p>
<h3>Footers</h3>
<p>And so is the <code><footer></code> element.</p>
</section>
<section>
<h2>Inline Semantic HTML</h2>
<p>The <code><time></code> element is semantic, but it’s not
sectioning content.</p>
</section>
<footer>
<p>This fake article was written by somebody at comsys.com.au, which
is a pretty decent place to learn how to become a web developer.</p>
</footer>
</article>
<aside class='sidebar'>
<h2>Sidebar</h2>
<p>Some sidebar content</p>
<nav>
<h3>HTML & CSS Tutorial</h3>
<ul>
<li><a href='#'>Introduction</a></li>
<li><a href='#'>Basic Web Pages</a></li>
<li><a href='#'>etc...</a></li>
</ul>
</nav>
<nav>
<h3>JavaScript Tutorial</h3>
<ul>
<li><a href='#'>Introduction</a></li>
<li><a href='#'>Hello, JavaScript</a></li>
<li><a href='#'>etc...</a></li>
</ul>
</nav>
</aside>
<footer>
<p>© 2017 comsys.com.au</p>
</footer>
</div>
</body>
</html>