-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
298 lines (279 loc) · 20 KB
/
test.html
File metadata and controls
298 lines (279 loc) · 20 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
<!DOCTYPE html>
<html lang="en" class="no-js" prefix="og: http://ogp.me/ns#"><head>
<meta charset="UTF-8" />
<title>TITLE – Test HTML</title>
<meta name="description" content="DESCRIPTION">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Favicons generated by faviconit.com -->
<link rel="shortcut icon" sizes="16x16 32x32 48x48 64x64" href="/favicon.ico">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
<!--[if IE]><link rel="shortcut icon" href="/favicon.ico"><![endif]-->
<link rel="icon" type="image/png" sizes="195x195" href="/favicon-195.png">
<link rel="apple-touch-icon" sizes="152x152" href="/favicon-152.png">
<link rel="apple-touch-icon" sizes="144x144" href="/favicon-144.png">
<link rel="apple-touch-icon" sizes="120x120" href="/favicon-120.png">
<link rel="apple-touch-icon" sizes="114x114" href="/favicon-114.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96.png">
<link rel="apple-touch-icon" sizes="76x76" href="/favicon-76.png">
<link rel="apple-touch-icon" sizes="72x72" href="/favicon-72.png">
<link rel="apple-touch-icon" href="favicon-57.png">
<meta name="msapplication-TileColor" content="#FFFFFF">
<meta name="msapplication-TileImage" content="/favicon-144.png"> <meta name="robots" content="noindex, nofollow"> <link rel="stylesheet" href="css/stylesheet.css" type="text/css">
<script src="js/modernizr.js"></script>
</head><body id="page-default-html">
<header>
<div class="logo">
<h1><a href="">MASTHEAD</a></h1>
</div>
</header><nav>
<!-- Unordered list style -->
<ul><li><a href="#">Item 1</a></li><li><a href="#">Item 2</a></li><li><a href="#Item 3">Item 3</a></li><li><a href="#">Item 4</a></li></ul>
<!--Definition list style-->
<dl><dt><a href="#">MASTHEAD</a></dt><dd><a href="#">Section 1</a></dd><dd><a href="#">Section 2</a></dd><dd><a href="#">Section 3</a></dd>
</dl>
</nav><section id="content">
<div>
<h1>This is a 1st level heading</h1>
<h2>This is 2nd level heading</h2>
<p>This is a test paragraph.</p>
<h3>This is 3rd level heading</h3>
<p>This is a test paragraph.</p>
<h4>This is 4th level heading</h4>
<p>It was a sight full of quick wonder and awe! The vast swells of the omnipotent sea; the surging, hollow roar they made, as they rolled along the eight gunwales, like gigantic bowls in a boundless bowling-green; the brief suspended agony of the boat, as it would tip for an instant on the knife-like edge of the sharper waves, that almost seemed threatening to cut it in two; the sudden profound dip into the watery glens and hollows; the keen spurrings and goadings to gain the top of the opposite hill; the headlong, sled-like slide down its other side;—all these, with the cries of the headsmen and harpooneers, and the shuddering gasps of the oarsmen, with the wondrous sight of the ivory Pequod bearing down upon her boats with outstretched sails, like a wild hen after her screaming brood;—all this was thrilling.
</p>
<h2>Image gallery</h2>
<ul class="image-gallery"><li class="gallery-target activate" data-gallery-target="1"><a class="trigger" href="images/placeholder.jpg"><div><h3>Heading One</h3><h4>Placeholder text 1</h4></div><img src="images/placeholder.jpg" alt="photograph" title=""></a></li><li class="gallery-target" data-gallery-target="2"><a class="trigger" href="images/placeholder.jpg"><div><h3>Heading Two</h3><h4>Placeholder text 2</h4></div><img src="images/placeholder.jpg" alt="photograph" title=""></a></li><li class="gallery-target" data-gallery-target="3"><a class="trigger" href="images/placeholder.jpg"><div><h3>Heading Three</h3><h4>Placeholder text 3</h4></div><img src="images/placeholder.jpg" alt="photograph" title=""></a></li><li class="gallery-target" data-gallery-target="4"><a class="trigger" href="images/placeholder.jpg"><div><h3>Heading Four</h3><h4>Placeholder text 4</h4></div><img src="images/placeholder.jpg" alt="photograph" title=""></a></li><li class="gallery-target" data-gallery-target="5"><a class="trigger" href="images/placeholder.jpg"><div><h3>Heading Five</h3><h4>Placeholder text 5</h4></div><img src="images/placeholder.jpg" alt="photograph" title=""></a></li><li class="gallery-target" data-gallery-target="6"><a class="trigger" href="images/placeholder.jpg"><div><h3>Heading Six</h3><h4>Placeholder text 6</h4></div><img src="images/placeholder.jpg" alt="photograph" title=""></a></li><li class="gallery-target" data-gallery-target="7"><a class="trigger" href="images/placeholder.jpg"><div><h3>Heading Seven</h3><h4>Placeholder text 7</h4></div><img src="images/placeholder.jpg" alt="photograph" title=""></a></li><li class="gallery-target" data-gallery-target="8"><a class="trigger" href="images/placeholder.jpg"><div><h3>Heading Eight</h3><h4>Placeholder text 8</h4></div><img src="images/placeholder.jpg" alt="photograph" title=""></a></li><li class="gallery-target" data-gallery-target="9"><a class="trigger" href="images/placeholder.jpg"><div><h3>Heading Nine</h3><h4>Placeholder text 9</h4></div><img src="images/placeholder.jpg" alt="photograph" title=""></a></li></ul>
<ol class="image-gallery-controls"><li class="trigger" data-gallery-control="1">1</li><li class="trigger" data-gallery-control="2">2</li><li class="trigger" data-gallery-control="3">3</li><li class="trigger" data-gallery-control="4">4</li><li class="trigger" data-gallery-control="5">5</li><li class="trigger" data-gallery-control="6">6</li><li class="trigger" data-gallery-control="7">7</li><li class="trigger" data-gallery-control="8">8</li><li class="trigger" data-gallery-control="9">9</li></ol> <h2>Basic block level elements</h2>
<p>This is a normal paragraph (<code>p</code> element).
There Mr. Fogg examined a curious vehicle, a kind of frame on two long beams, a little raised in front like the runners of a sledge, and upon which there was room for five or six persons. A high mast was fixed on the frame, held firmly by metallic lashings, to which was attached a large brigantine sail. This mast held an iron stay upon which to hoist a jib-sail. Behind, a sort of rudder served to guide the vehicle. It was, in short, a sledge rigged like a sloop.</p>
<p>In this paragraph, there is <strong>bold (<code>strong</code>) text</strong> and <em>italic (<code>em</code>) text</em>.</p>
<figure class="quote">
<blockquote>
<p>This is a block quotation containing a single
paragraph. One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections.
</p>
</blockquote>
<figcaption>The Metamorphosis by Franz Kafka</figcaption>
</figure>
<h2>Lists</h2>
<p>This is a paragraph before an <strong>unnumbered</strong> list (<code>ul</code>). Note that the spacing between a paragraph and a list before or after that is hard to tune in a user style sheet. You can't guess which paragraphs are logically related to a list, e.g. as a "list header".</p>
<ul>
<li> One.
<li> Two.
<li> Three. Well, probably this list item should be longer. Note that
for short items lists look better if they are compactly presented,
whereas for long items, it would be better to have more vertical spacing between items.
<li> Four. This is the last item in this list.
Let us terminate the list now without making any more fuss about it.
</ul>
<p>This is a paragraph before a <strong>numbered</strong> list (<code>ol</code>). Note that
the spacing between a paragraph and a list before or after that is hard
to tune in a user style sheet. You can't guess which paragraphs are
logically related to a list, e.g. as a "list header".</p>
<ol>
<li> One.
<li> Two.
<li> Three. Well, probably this list item should be longer. Note that if
items are short, lists look better if they are compactly presented,
whereas for long items, it would be better to have more vertical spacing between items.
<li> Four. This is the last item in this list.
Let us terminate the list now without making any more fuss about it.
</ol>
<p>This is a paragraph before a <strong>definition</strong> list (<code>dl</code>).
In principle, such a list should consist of <em>terms</em> and associated
definitions.
But many authors use <code>dl</code> elements for fancy "layout" things. Usually the
effect is not <em>too</em> bad, if you design user style sheet rules for <code>dl</code>
which are suitable
for real definition lists.
<dl>
<dt> recursion
<dd> see recursion
<dd> see recursion again
<dt> recursion, indirect
<dd> see indirect recursion
<dt> indirect recursion
<dd> see recursion, indirect
<dt> term
<dd> a word or other expression taken into specific use in a well-defined meaning, which is often defined rather rigorously, even formally, and may differ quite a lot from an everyday meaning
</dl>
<h2>Text-level markup</h2>
<ul>
<li> <abbr title="Cascading Style Sheets">CSS</abbr> (an abbreviation;
<code>abbr</code> markup used)
<li> <acronym title="radio detecting and ranging">radar</acronym> (an acronym; <code>acronym</code> markup used)
<li> <b>bolded</b> (<code>b</code> markup used - just bolding with unspecified
semantics)
<li> <big>big thing</big> (<code>big</code> markup used)
<li> <font size=6>large size</font> (<code>font size=6</code> markup used)
<li> <font face=Courier>Courier font</font> (<code>font face=Courier</code> markup used)
<li> <font color=red>red text</font> (<code>font color=red</code> markup used)
<li> <cite>Origin of Species</cite> (a book title;
<code>cite</code> markup used)
<li> <code>a[i] = b[i] + c[i);</code> (computer code; <code>code</code> markup used)
<li> here we have some <del>deleted</del> text (<code>del</code> markup used)
<li> an <dfn>octet</dfn> is an entity consisting of eight bits
(<code>dfn</code> markup used for the term being defined)
<li> this is <em>very</em> simple (<code>em</code> markup used for emphasizing
a word)
<li> <i lang="la">Homo sapiens</i> (should appear in italics; <code>i</code> markup used)
<li> here we have some <ins>inserted</ins> text (<code>ins</code> markup used)
<li> type <kbd>yes</kbd> when prompted for an answer (<code>kbd</code> markup
used for text indicating keyboard input)
<li> <q>Hello!</q> (<code>q</code> markup used for quotation)
<li> He said: <q>She said <q>Hello!</q></q> (a quotation inside a quotation)
<li> you may get the message <samp>Core dumped</samp> at times
(<code>samp</code> markup used for sample output)
<li> <small>this is not that important</small> (<code>small</code> markup used)
<li> <strike>overstruck</strike> (<code>strike</code> markup used; note:
<code>s</code> is a nonstandard synonym for <code>strike</code>)
<li> <strong>this is highlighted text</strong> (<code>strong</code>
markup used)
<li> In order to test how subscripts and superscripts (<code>sub</code> and
<code>sup</code> markup) work inside running text, we need some
dummy text around constructs like x<sub>1</sub> and H<sub>2</sub>O
(where subscripts occur). So here is some fill so that
you will (hopefully) see whether and how badly the subscripts
and superscripts mess up vertical spacing between lines.
Now superscripts: M<sup>lle</sup>, 1<sup>st</sup>, and then some
mathematical notations: e<sup>x</sup>, sin<sup>2</sup> <i>x</i>,
and some nested superscripts (exponents) too:
e<sup>x<sup>2</sup></sup> and f(x)<sup>g(x)<sup>a+b+c</sup></sup>
(where 2 and a+b+c should appear as exponents of exponents).
<li> <tt>text in monospace font</tt> (<code>tt</code> markup used)
<li> <u>underlined</u> text (<code>u</code> markup used)
<li> the command <code>cat</code> <var>filename</var> displays the
file specified by the <var>filename</var> (<code>var</code> markup
used to indicate a word as a variable).
</ul>
<p>Some of the elements tested above are typically displayed in a monospace
font, often using the <em>same</em> presentation for all of them. This
tests whether that is the case on your browser:</p>
<ul>
<li> <code>This is sample text inside code markup</code>
<li> <kbd>This is sample text inside kbd markup</kbd>
<li> <samp>This is sample text inside samp markup</samp>
</ul>
<h2>Links</h2>
<ul>
<li> <a href="../index.html">main page</a>
<li> <a href=
"http://www.unicode.org/versions/Unicode4.0.0/ch06.pdf"
title="Writing Systems and Punctuation"
type="application/pdf"
>Unicode Standard, chapter 6</a>
</ul>
<p>This is a text paragraph that contains some
inline links. Generally, inline links (as opposite to e.g. links
lists) are problematic
from the
<a href="http://www.useit.com">usability</a> perspective,
but they may have use as
“incidental”, less relevant links. See the document
<cite><a href="links.html">Links Want To Be Links</a></cite>.</p>
<h2>Forms</h2>
<form class="contact" id="contact-form" action="php/submit-contact-form.php" method="post">
<label for="fullname">Name</label>
<input type="text" name="fullname" id="fullname" placeholder="Your Name" required>
<label for="mailfrom">Email</label>
<input type="email" name="mailfrom" id="mailfrom" placeholder="example@address.com" required>
<label for="message-box">Message</label>
<textarea rows="8" name="message-box" id="message-box" placeholder="Type your message here..." required></textarea>
<input class="submit" type="submit" value="Send Email">
<!--The following field filters out bot generated emails-->
<div hidden id="mail-filter">
<label for="filter">This field filters out unsolicited emails and should be left blank.</label>
<input type="email" name="filter" id="filter" placeholder="This field filters out unsolicited emails and should be left blank.">
</div>
</form>
<form action="">
<div>
<label for="but">Button:
<button id="but" type="submit" name="foo" value="bar">A cool button</button></label></div>
<div><label for="f0">Reset button:
<input id="f0" type="reset" name="reset" value="Reset"></label></div>
<div><label for="f1">Single-line text input field: <input id="f1" name="text" size="20" value="Default text."></label></div>
<div>The following two radio buttons are inside
a <code>fieldset</code> element with a <code>legend</code>:</div>
<fieldset>
<legend>Legend</legend>
<div><label for="f3"><input id="f3" type="radio" name="radio" value="1"> Radio button 1</label></div>
<div><label for="f4"><input id="f4" type="radio" name="radio" value="2" checked> Radio button 2 (initially checked)</label></div>
</fieldset>
<fieldset>
<legend>Check those that apply</legend>
<div><label for="f5"><input id="f5" type="checkbox" name="checkbox"> Checkbox 1</label></div>
<div><label for="f6"><input id="f6" type="checkbox" name="checkbox2" checked> Checkbox 2 (initially checked)</label></div>
</fieldset>
<div><label for="f10">A <code>select</code> element with <code>size="1"</code>
(dropdown box):
<select id="f10" name="select1" size="1">
<option>one
<option selected>two (default)
<option>three
</select></label></div>
<div><label for="f11">A <code>select</code> element with <code>size="3"</code>
(listbox):</label><br>
<select id="f11" name="select2" size="3">
<option>one
<option selected>two (default)
<option>three
</select></div>
<div><label for="f99">Submit button:
<input id="f99" type="submit" name="submit" value="Just a test"></label></div>
</form>
<h2>Tables</h2>
<p>The following table has a caption. The first row and the first column
contain table header cells (<code>th</code> elements) only; other cells
are data cells (<code>td</code> elements), with <code>align="right"</code>
attributes:</p>
<TABLE summary=
"Each row names a Nordic country and specifies its total area and land area, in square kilometers">
<CAPTION>Sample table: Areas of the Nordic countries, in sq km</CAPTION>
<TR><th scope="col">Country</th> <th scope="col">Total area</TH> <th scope="col">Land area</TH>
<TR><th scope="row">Denmark</TH> <TD ALIGN=RIGHT> 43,070 </TD><TD ALIGN=RIGHT> 42,370</TR>
<TR><th scope="row">Finland</TH> <TD ALIGN=RIGHT>337,030 </TD><TD ALIGN=RIGHT>305,470</TR>
<TR><th scope="row">Iceland</TH> <TD ALIGN=RIGHT>103,000 </TD><TD ALIGN=RIGHT>100,250</TR>
<TR><th scope="row">Norway</TH> <TD ALIGN=RIGHT>324,220 </TD><TD ALIGN=RIGHT>307,860</TR>
<TR><th scope="row">Sweden</TH> <TD ALIGN=RIGHT>449,964 </TD><TD ALIGN=RIGHT>410,928</TR>
</TABLE>
<h2>Character test</h2>
<p>The following table has some sample characters with
annotations. If the browser’s default font does not
contain all of them, they may get displayed using backup fonts.
This may cause stylistic differences, but it should not
prevent the characters from being displayed at all.</p>
<table>
<tr><th>Char. <th>Explanation <th>Notes
<tr><td>ê <td>e with circumflex <td>Latin 1 character, should be ok
<tr><td>— <td>em dash <td>Windows Latin 1 character, should be ok, too
<tr><td>Ā <td>A with macron (line above) <td>Latin Extended-A character, not present in all fonts
<tr><td>Ω <td>capital omega <td>A Greek letter
<tr><td>− <td>minus sign <td>Unicode minus
<tr><td>⌀ <td>diameter sign <td>relatively rare in fonts
</table>
<h2>Attribution</h2>
<p>This template is adapted from <a href="http://www.cs.tut.fi/~jkorpela/personal.html" hreflang="en" lang="fi">Jukka Korpela</a>'s <a href="http://www.cs.tut.fi/~jkorpela/www/testel.html"><cite>Test display of HTML elements</cite></a></p>
</div>
</section><footer>
<address id="hcard-forename-surname" class="vcard">
<span class="fn">Name</span>
<div class="org">Organisation</div>
<a class="email" href="mailto:#">name@example.com</a>
<div class="adr">
<span class="street-address">Address 1</span>, <span class="locality">Town</span>, <span class="region">County</span>, <span class="postal-code">Postcode</span>
</div>
<div class="tel"><a href="tel:+44">Telephone 1</a></div>
<div class="tel"><a href="tel:+44">Telephone 2</a></div>
</address>
<section id="ben-manley">
<p>Designed by <a href="http://www.benmanley.org">Ben Manley</a></p>
</section>
</footer><!--Scripts-->
<!--[if lt IE 9]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<![endif]-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="js/hisrc.js"></script>
<script src="js/core.js"></script> </body>
</html>