-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
152 lines (142 loc) · 4.02 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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html lang="en">
<head>
<title>Learning HTML</title>
</head>
<!--Header-->
<header>
<!--Headng types-->
<h1>I love html</h1>
<h2>I love css</h2>
<h3>I love JS</h3>
<h4>I love coding</h4>
</header>
<!--Aside for sidebar-->
<aside>
<p>The Rough-skinned Newt defends itself with a deadly neurotoxin.</p>
</aside>
<!--Form, Inputs, labels, Paragraphs-->
<form>
<p><lable>Enter a Username:</lable>
<input id="Username" type="text" placeholder="username" name="username">
</p>
<p><lable>Enter a password:</lable>
<input id="password" type="password">
</p>
<p>
<lable>Choose a color:</lable>
<input id="color" type="color">
<input type="submit" value="Click Me">
</p>
<button>Submit</button>
<p>
</form>
<!--To add some space we use <br>-->
<br>
<!--Article-->
<article>
<!--Section-->
<section>
<h1>I AM A HEADING</h1>
<div class="plants">Plants</div>
<div class="pines">Pines</div>
<div class="trees">Trees</div>
</section>
</article>
<!-- Images-->
<img src="https://images.unsplash.com/photo-1652289687213-6807295eac7d?crop=entropy&cs=tinysrgb&fm=jpg&ixlib=rb-1.2.1&q=60&raw_url=true&ixid=MnwxMjA3fDB8MHx0b3BpYy1mZWVkfDh8NnNNVmpUTFNrZVF8fGVufDB8fHx8&auto=format&fit=crop&w=500" alt="tulips">
<img src="https://images.unsplash.com/photo-1652365210919-246a5659b882?crop=entropy&cs=tinysrgb&fm=jpg&ixlib=rb-1.2.1&q=80&raw_url=true&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=435" alt="pink flowers">
<img src="https://images.unsplash.com/photo-1652653706987-40b0b7b8909e?crop=entropy&cs=tinysrgb&fm=jpg&ixlib=rb-1.2.1&q=80&raw_url=true&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=435" alt="white flowers">
</section>
<!--Nav-->
<nav>Fist Name/ Last Name</nav>
<!--Main-->
<main id="main">
<section class="sidebar">Sidebar</section>
<section class="maincontent">Main</section>
<section class="sidebar">Sidebar</section>
</main>
<!--Button-->
<button>CLICK ME</button>
<button>READ ON</button>
<!--Table, Table Head, Table Body, Table Row, Table Data-->
<table>
<thead>
<th>Animals</th>
<th>Weight</th>
<th>Flighted</th>
</thead>
<tbody>
<tr>
<td>Ostrich</td>
<td>66 (150)</td>
</tr>
<tr>
<td>Somali Ostrich</td>
<td>90 (200)</td>
</tr>
</tbody>
</table>
<!--Fieldset-->
<form action='https://register-demo.freecodecamp.org'>
<fieldset>
<!--Legend for Caption-->
<legend>Choose your favorite monster</legend>
</fieldset>
<fieldset></fieldset>
<fieldset></fieldset>
</form>
<!--Span-->
<span>To Group Elements, no particular meaning</span>
</fieldset>
<!--Figure, Figcaption, Audio-->
<figure>
<figcaption>Listen to the T-Rex:</figcaption>
<audio
controls
src="/media/cc0-audio/t-rex-roar.mp3">
Your browser does not support the
<code>audio</code> element.
</audio>
</figure>
<!--Datalist for options available to choose from in a label-->
<datalist>
<option value="Chocolate">
<option value="Coconut">
<option value="Mint">
<option value="Strawberry">
<option value="Vanilla">
</datalist>
<!--Embed for external content-->
<embed type="video/webm"
src="/media/cc0-videos/flower.mp4"
width="250"
height="200">
<!--Lists-->
<ul>
<li>One</li>
<li>Two</li>
</ul>
<ol>
<li>One</li>
<li>Two</li>
</ol>
<!--Radio Buttons-->
<label>
<input type="radio" name="indoor-outdoor">Indoor
</label>
<!--Completion of a progrees of some task-->
<label>File progress:</label>
<progress> 70% </progress>
<!--Textarea to comment or leave a feedback-->
<textarea>
It was a dark
</textarea>
<!--Footer-->
<footer>
<div></div>
<div></div>
</footer>
<body>
</body>
</html>