forked from NewEvolution/css101
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·103 lines (90 loc) · 2.51 KB
/
index.html
File metadata and controls
executable file
·103 lines (90 loc) · 2.51 KB
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
<!DOCTYPE html> <!-- tells browser what version-->
<html>
<head> <!-- header info, styles, meta etc-->
<meta charset="UTF-8"> <!-- define alphabet-->
<meta name="author" content="Joe Shepherd"> <!-- Define Page author -->
<title>Hi there</title> <!--tab title-->
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body><!-- displays the page-->
<nav>
<ul class="top-nav">
<li>home</li>
<li>about us</li>
<li>contact us</li>
</ul>
</nav>
<div id="page-id" class="page-class">This is a page</div> <!-- block element-->
<p>Before the floated stuff</p>
<article class="left">A</article>
<article class="left">B</article>
<article class="right">C</article>
<article class="right">D</article>
<p class="floated-p">After the floated stuff</p>
<form action="">
<fieldset>
<legend>My name</legend>
<label for="first">First Name</label>
<input type="text" placeholder="first name" name="first">
<input type="email" placeholder="email address">
<input type="password">
<input type="radio">
<input type="checkbox">
<input type="range">
</fieldset>
</form>
<div class="p-ancestor">
<p>I am a direct child of the "p-ancestor" div</p>
<div>
<p>I am a grandchild of the "p-ancestor" div</p>
</div>
</div>
<ul class="top">
<li class="block">1</li>
<li class="block">2</li>
<li class="block">3</li>
<li class="block">5</li>
</ul>
<span class="inline">X</span>
<span class="inline">Y</span>
<span class="inline">Z</span>
<article class="n-child">
<section> A </section>
<div> X </div>
<div> X </div>
<section> B </section>
<section> C </section>
<section> D </section>
<section> E </section>
</article>
<article class="n-type">
<section> A </section>
<section> B </section>
<aside> Aside </aside>
<aside> Aside </aside>
<aside> Aside </aside>
<aside> Aside </aside>
<section> C </section>
<section> D </section>
<section> E </section>
</article>
<article class="first-of-type">
<section> A </section>
<section> B </section>
<aside> Aside 1 </aside>
<section> C </section>
<section> D </section>
<aside> Aside 2 </aside>
<section> E </section>
<footer>Footer</footer>
</article>
<article class="three">
<section> A </section>
<section> B </section>
<aside> Aside </aside>
<section> C </section>
<section> D </section>
<section> E </section>
</article>
</body>
</html>