8
8
< title > HTML Patterns </ title >
9
9
10
10
< meta name ="author " content ="mrmrs ">
11
- < meta name ="description " content ="Common HTML5 patterns I use. ">
11
+ < meta name ="description " content ="Common HTML patterns ">
12
12
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
13
13
14
- <!-- Link to your stylesheet here -->
14
+ <!-- Link to your stylesheet here
15
15
<link rel="stylesheet" href="css/i.css">
16
16
17
- <!-- Favicons and Touch Device Icons -->
17
+ Favicons and Touch Device Icons
18
18
<link rel="shortcut icon" href="favicon.ico">
19
19
<link rel="apple-touch-icon" href="touch-icon-iphone-precomposed.png">
20
20
<link rel="apple-touch-icon" sizes="72x72" href="touch-icon-ipad-precomposed.png">
21
21
<link rel="apple-touch-icon" sizes="114x114" href="touch-icon-iphone-retina-precomposed.png">
22
22
<link rel="apple-touch-icon" sizes="144x144" href="touch-icon-ipad-retina-precomposed.png">
23
+ -->
23
24
</ head >
24
25
25
26
< body >
26
27
27
28
< header >
28
- < h1 class =" mega-ns " > HTML</ h1 >
29
- < h2 class =" Every html element in one place. Just waiting to be styled. " > HTML </ h2 >
29
+ < h1 > HTML</ h1 >
30
+ < h2 > Every html element in one place. Just waiting to be styled.</ h2 >
30
31
</ header >
31
32
32
33
@@ -42,7 +43,7 @@ <h2 class="Every html element in one place. Just waiting to be styled.">HTML</h2
42
43
-->
43
44
44
45
< header >
45
- < a href ="" title ="Site title "> < h1 class =" other-class " > Site title</ h1 > </ a >
46
+ < a href ="" title ="Site title "> < h1 > Site title</ h1 > </ a >
46
47
< nav >
47
48
< ul >
48
49
< li > < a href ="# " title ="Home "> Home</ a > </ li >
@@ -55,14 +56,14 @@ <h2 class="Every html element in one place. Just waiting to be styled.">HTML</h2
55
56
</ header >
56
57
57
58
< section >
58
- < h1 class =" other-class " > Headings & Copy</ h1 >
59
- < h1 class =" other-class " > First Header h1</ h1 >
60
- < p class =" test-class " >
59
+ < h > Headings & Copy</ h1 >
60
+ < h1 > First Header h1</ h1 >
61
+ < p >
61
62
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis
62
63
praesentium voluptatum deleniti atque corrupti quos.
63
64
</ p >
64
65
< h2 > Second header h2</ h2 >
65
- < p class =" test-class " >
66
+ < p >
66
67
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
67
68
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
68
69
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
@@ -71,15 +72,15 @@ <h2>Second header h2</h2>
71
72
non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
72
73
</ p >
73
74
< h3 > Third header h3</ h3 >
74
- < p class =" test-class " >
75
+ < p >
75
76
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis
76
77
praesentium voluptatum deleniti atque corrupti quos dolores et quas
77
78
molestias excepturi sint occaecati cupiditate non provident, similique sunt
78
79
in culpa qui officia deserunt mollitia animi, id est laborum et dolorum
79
80
fuga. Et harum quidem rerum facilis est et expedita distinctio.
80
81
</ p >
81
82
< h4 > Fourth header h4</ h4 >
82
- < p class =" test-class " >
83
+ < p >
83
84
Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet,
84
85
consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt
85
86
ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima
@@ -89,28 +90,28 @@ <h4>Fourth header h4</h4>
89
90
qui dolorem eum fugiat quo voluptas nulla pariatur?"
90
91
</ p >
91
92
< h5 > Fifth header h5</ h5 >
92
- < p class =" test-class " >
93
+ < p >
93
94
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium
94
95
doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore
95
96
veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim
96
97
ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia
97
98
consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
98
99
</ p >
99
100
< h6 > Sixth header h6</ h6 >
100
- < p class =" test-class " >
101
+ < p >
101
102
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis
102
103
praesentium voluptatum deleniti atque corrupti quos.
103
104
</ p >
104
105
</ section >
105
106
< hr />
106
107
< section >
107
- < h1 class =" other-class " > Links</ h1 >
108
+ < h1 > Links</ h1 >
108
109
< a href ="# "> Sample text link</ a >
109
110
< a href ="# "> Sample button link</ a >
110
111
</ section >
111
112
< hr />
112
113
< section >
113
- < h1 class =" other-class " > Lists</ h1 >
114
+ < h1 > Lists</ h1 >
114
115
< h2 > Unordered list</ h2 >
115
116
< ul >
116
117
< li > Orange</ li >
@@ -176,7 +177,7 @@ <h2>Definition list</h2>
176
177
</ section >
177
178
178
179
< section >
179
- < h1 class =" other-class " > Forms</ h1 >
180
+ < h1 > Forms</ h1 >
180
181
< form >
181
182
< fieldset >
182
183
<!--
@@ -188,13 +189,13 @@ <h1 class="other-class">Forms</h1>
188
189
< div >
189
190
< label > Text Input Label</ label >
190
191
< input type ="text " />
191
- < p class =" test-class " > Helper text if necessary.</ p >
192
+ < p > Helper text if necessary.</ p >
192
193
</ div >
193
194
194
195
< div >
195
196
< label > Password</ label >
196
197
< input type ="password " />
197
- < p class =" test-class " > Error messages when appropriate.</ p >
198
+ < p > Error messages when appropriate.</ p >
198
199
</ div >
199
200
200
201
< div >
@@ -253,17 +254,17 @@ <h1 class="other-class">Forms</h1>
253
254
</ form >
254
255
</ section >
255
256
< section >
256
- < h1 class =" other-class " > Buttons</ h1 >
257
+ < h1 > Buttons</ h1 >
257
258
< button > A button</ button >
258
259
< button > A button</ button >
259
260
< button > A large button</ button >
260
261
</ section >
261
262
< hr />
262
263
< section >
263
- < h1 class =" other-class " > An Example Article</ h1 >
264
+ < h1 > An Example Article</ h1 >
264
265
< article >
265
- < h1 class =" other-class " > Title</ h1 >
266
- < p class =" test-class " >
266
+ < h1 > Title</ h1 >
267
+ < p >
267
268
Lorem ipsum dolor sit amet, < b > consectetur adipisicing elit</ b > , sed do eiusmod
268
269
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
269
270
quis nostrud < em > exercitation ullamco laboris nisi ut aliquip ex ea commodo
@@ -272,12 +273,12 @@ <h1 class="other-class">Title</h1>
272
273
non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
273
274
</ p >
274
275
< blockquote >
275
- < p class =" test-class " >
276
+ < p >
276
277
This is a GREAT pull quote.
277
278
</ p >
278
279
< a href ="# "> - Author</ a >
279
280
</ blockquote >
280
- < p class =" test-class " >
281
+ < p >
281
282
Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet,
282
283
consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt
283
284
ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima
@@ -286,7 +287,7 @@ <h1 class="other-class">Title</h1>
286
287
qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum
287
288
qui dolorem eum fugiat quo voluptas nulla pariatur?"
288
289
</ p >
289
- < p class =" test-class " >
290
+ < p >
290
291
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis
291
292
praesentium voluptatum deleniti atque corrupti quos dolores et quas
292
293
molestias excepturi sint occaecati cupiditate non provident, similique sunt
@@ -298,7 +299,7 @@ <h1 class="other-class">Title</h1>
298
299
< hr />
299
300
300
301
< section >
301
- < h1 class =" other-class " > Code examples</ h1 >
302
+ < h1 > Code examples</ h1 >
302
303
< code >
303
304
< pre >
304
305
sudo ipfw pipe 1 config bw 256KByte/s
@@ -308,9 +309,9 @@ <h1 class="other-class">Code examples</h1>
308
309
</ section >
309
310
< hr />
310
311
< section >
311
- < h1 class =" other-class " > Footer</ h1 >
312
+ < h1 > Footer</ h1 >
312
313
< footer >
313
- < p class =" test-class " > Copyright 2013. Made with love by < a href ="http://mrmrs.cc " title ="MRMRS - Designer "> mrmrs</ a > .</ p >
314
+ < p > Copyright 2013. Made with love by < a href ="http://mrmrs.cc " title ="MRMRS - Designer "> mrmrs</ a > .</ p >
314
315
< ul >
315
316
< li >
316
317
< a href ="# "> Home</ a >
@@ -343,21 +344,21 @@ <h1 class="other-class">Footer</h1>
343
344
</ section >
344
345
345
346
< section >
346
- < h1 class =" other-class " > New hawtness</ h1 >
347
+ < h1 > New hawtness</ h1 >
347
348
< progress value ="80 " max ="100 "> 80 %</ progress >
348
- < p class =" test-class " > We are this close to the goal: < meter min ="0 " max ="1000 " value ="824 "> $824</ meter > .</ p >
349
+ < p > We are this close to the goal: < meter min ="0 " max ="1000 " value ="824 "> $824</ meter > .</ p >
349
350
</ section >
350
351
351
352
< section >
352
353
< header >
353
- < h1 class =" other-class " > Random Stuff</ h1 >
354
+ < h1 > Random Stuff</ h1 >
354
355
</ header >
355
356
< small > This is for things like copyright info</ small >
356
357
< s > Content that isn't accurate or relevant anymore.</ s >
357
358
< span > Generic span wrapper</ span >
358
359
< abbr > HTML How to meet ladies</ abbr >
359
- < p class =" test-class " > This is inline text with < sub > subscript</ sub > and < sup > superscript</ sup > elements.</ p >
360
- < p class =" test-class " >
360
+ < p > This is inline text with < sub > subscript</ sub > and < sup > superscript</ sup > elements.</ p >
361
+ < p >
361
362
< var > f</ var > (< var > x</ var > ) = < var > a</ var > < sub > 0</ sub > + < var > a</ var > < sub > 1</ sub > < var > x</ var > +
362
363
< var > a</ var > < sub > 2</ sub > < var > x</ var > < sup > 2</ sup > , where < var > a</ var > < sup > 2</ sup > ≠ 0
363
364
</ p >
@@ -403,7 +404,7 @@ <h1 class="other-class">Random Stuff</h1>
403
404
</ samp >
404
405
</ section >
405
406
< section >
406
- < h1 class =" other-class " > Tables</ h1 >
407
+ < h1 > Tables</ h1 >
407
408
<!--
408
409
From the HTML spec (http://www.w3.org/TR/html401/struct/tables.html)
409
410
0 commit comments