-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
303 lines (254 loc) · 9.23 KB
/
index.html
File metadata and controls
303 lines (254 loc) · 9.23 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
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
<!DOCTYPE html>
<html>
<head>
<script></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>HTML Page Using Basic Tags</title>
<style>
/* img {
padding: 10px 12px;
} */
</style>
</head>
<body>
<style></style>
<h1>Must Master HTML Tags</h1>
<ul>
<a href="https://www.google.com/">google</a>
<a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element">Doc to all here</a>
<a href="https://www.w3schools.com/html/html5_syntax.asp">Guide</a>
<a href="https://www.w3schools.com/html/html_layout.asp">HTML Layout/Techniques</a>
<li>html</li> The start and end of the html doc, its acts as a wrapper for all other elements
<li>head</li> Cotains the main information about the doc includinding title, style and script
<li>title</li> The title of the doc, shown in the browser, history or bookmark. Lives in the head tag
<li>style</li> Contain style info for some of the doc if not all, it contains css, to apply inside tag: style =..., Lives in the head
<li>body</li> wrapes the contents of the doc
<li>script</li> Allows you to run Js or Json or Webjl scripts on your html webpage. When the browser see a script while parsing, it pauses, downloads and excutes the script. Attributes like async and defer control when and how the script it excuted in relation to parsing.
<li>h1, h2, h3</li> Heading, goes from 1 to 6
<li>p</li> Paragraphs, text or any structural grouping of related content, such as images or form fields.
<li>a</li> Anchor, creates hyperlink
<li>img</li> Embeds an image into the doc, always specify alt, with and hight
<li>ul</li> Unordered list
<li>header</li> for introductory content, logo, search bar and More
<li>footer</li> for info like copyriht, author and more
<li>section</li> for section of a doc and should always have headers, general content grouping
<li>nav</li> for navigation links
<li>article</li>self contained section within the doc, shoud be sence on its own, be independently distributable or reusable, often used for blog posts, new articles, product cards and forum posts can be nested within section or stand alone
<li>main</li> for main content of doc, 1 per page, not duplicated on other pages, CANNOT be nested in elements like article, aside, footer, header, or nav.
<li>li</li> list of items, could be in an ul or ol or menu
<li>div</li> Used to group related content, block lvl emelent
<li>span</li> Just like div but inline lvl element
<li>table</li> For table data, rows and colums
<li>tr</li> A row in a table
<li>td</li> Defines data of a cell table
<li>form</li> Used to send informtion from front end to back end
<li>input</li> Used to accept data from users
<li>textarea</li> For really big text input
<li>select</li> A control to provide a menu of options
</ul>
<h1>Heading 1</h1>
<p>Sample Paragraph</p>
<h2>Heading 2</h2>
<p>Another Paragraph with a link to <a href="http://www.cnn.com">cnn.com</a></p>
<img src="https://images.pexels.com/photos/19594300/pexels-photo-19594300/free-photo-of-candid-heart.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" />
<h2>My favorite ice cream flavors(unordered list)</h2>
<ul>
<li>Strawberry</li>
<li>Chocolate</li>
<li>Vanilla</li>
<li>cake</li>
<li>rock</li>
</ul>
<h2>My favorite ice cream flavors(ordered list)</h2>
<ol>
<li>Strawberry</li>
<li>Chocolate</li>
<li>Vanilla</li>
<li>cake</li>
<li>rock</li>
</ol>
<div> This is a division tag </div>
<h2>My first table</h2>
<table>
<tr>
<td>1</td>
<td>2</td>
</tr>
<tr>
<td>3</td>
<td>4</td>
</tr>
</table>
<h3>Heading 3</h3>
<table>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>3</td>
<td>4</td>
</tr>
</table>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<form action="process.php" method="post">
<h1>Pizza Ordering Form</h1>
<label>
First Name: <input type="text" name="First Name" >
</label>
<div></div>
<label>
last Name: <input type="text" name="Last Name" >
</label>
<div></div>
<label>
Email Address: <input type="text" name="Email Address" >
</label>
<div></div>
<label>
Contact Number: <input type="text" name="Contact Number" >
</label>
<div></div>
<label>
Preferred Delivery Date: <input type="date" name="Preferred Delivery Date" >
</label>
<p>Size:</p>
<label>
Small: <input type="radio" name="Small" value="Small">
</label>
<label>
Medium: <input type="radio" name="Small" value="Small">
</label>
<label>
Large: <input type="radio" name="Large" value="Large">
</label>
<p>Flavor:</p>
<label>
<input type="checkbox" name="valid_ids" value="postal" > Hawaiian (Php 150.00)
</label>
<select name="answer">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
<div></div>
<label>
<input type="checkbox" name="valid_ids" value="postal" > Pepperoni (Php 140.00)
</label>
<select name="answer">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
<div></div>
<label>
<input type="checkbox" name="valid_ids" value="postal" > Vegetable (Php 130.00)
</label>
<select name="answer">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
<div></div>
<label>
Credit Card Number: <input type="text" name="Credit Card Number" >
</label>
<div></div>
<label>
Pin: <input type="text" name="Pin" >
</label>
<div></div>
<p>Additional Note</p>
<textarea name="Additional_Note" id="Additional_Note" placeholder="How can we make this order special?"></textarea>
<div></div>
<input type="submit" value="Submit">
</form>
<h1>Mickey Mouse</h1>
<p>
Mickey Mouse is a fictional character in the Mickey Mouse animated series. He is the main protagonist of the series, and the main character of the Mickey Mouse Club.
</p>
<div></div>
<table>
<th>
<th>Number</th>
<th>Result</th>
<th>Record</th>
<th>Opponent</th>
</th>
<tbody>
<tr>
<td>1</td>
<td>Win</td>
<td>62-7-2</td>
<td><a href="">google.com</a></td>
</tr>
<tr>
<td>2</td>
<td>Loss</td>
<td>57-6-2</td>
<td><a href="">cats.com</a></td>
</tr>
<tr>
<td>3</td>
<td>Win</td>
<td>56-5-2</td>
<td><a href="">myspace.com</a></td>
</tr>
</tbody>
</table>
<div></div>
<ul>
<li>Flyweight</li>
<li>Featherweight</li>
<li>Lightweight</li>
<li>Welterweight</li>
</ul>
<form action="process.php">
<h1>Please take a short survey</h1>
<label>
Email Address: <input type="text" name="Email_Address">
</label>
<div></div>
<label>
<input type="radio" name="Yes, to newsletter"> Yes, I would like to receive newsletter
</label>
<div></div>
<label>
<input type="radio" name="No, to newsletter"> No, please do not send me newsletter
</label>
<p>How did hear about us?</p>
<label>
<input type="checkbox" name="Facebook"> Facebook
</label>
<div></div>
<label>
<input type="checkbox" name="Lyka"> Lyka
</label>
<div></div>
<label>
<input type="checkbox" name="Google"> Google
</label>
<div></div>
<label>
<input type="checkbox" name="Referral"> Referral
</label>
<div></div>
<input type="submit" value="Submit">
</form>
<p>Hello <span class='special'>World</span></p>
<p class='special'>I am a special paragraph.</p>
<h1>Most Common Stling Properties</h1>
<img src="https://cdn.hackerhero.com/1.1/assets/uploads/level-modules/852-elementstyling-1681232133254.png" alt="image of the most commone css styling properties">
<h1>CSS Box Model</h1>
<img src="https://cdn.hackerhero.com/1.1/assets/uploads/level-modules/855-css-box-model-1643110139917.png" alt="image of css box model analogy">
<a href="https://codepen.io/carolineartz/full/ogVXZj">interactive visualizer</a>
<h2>Flex</h2>
<p>
<a href="https://www.flexo.icu/">Flex Pratice </a>
</p>
</body>
</html>