This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
/
test.html
70 lines (66 loc) · 2.7 KB
/
test.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
<html>
<head>
<style>
.bottom a {
position: absolute;
bottom: 5px;
outline: 1px dotted;
}
[href=left] { left: 10px; }
[href^=center] { left: 50%; text-align: center; margin-left: -64px; }
[href=right] { right: 10px; text-align: right; }
</style>
</head>
<body>
<p>
Run <code>python -m SimpleHTTPServer</code> and navigate to
http://localhost:8000/test.html to view this page.
</p>
<ul>
<li><a href="/relative">a relative link</a></li>
<li><a href="http://google.com">google.com</a></li>
<li><a href="http://is.gd/w">shortened link</a></li>
<li><a href="http://th.wikipedia.org/wiki/พระวิษณุ">utf8 link</a></li>
<li><a href="http://example.com/this is
a URL with newlines in it. it is
kinda fancy and all.">newlines in URL</a></li>
<li><a href="http://example.com/?subject=Subject%20Line&body=Body%20Line%0Dnewline%0Anewline%0D%0Anewline">carriage returns in URL</a></li>
</ul>
<ul>
<li><a href="javascript:console.log('ahoy')">script link</a></li>
<li><a href="javascript:">empty script link</a></li>
</ul>
<ul>
<li><a href="mailto:[email protected]">mailto link</a></li>
<li><a href="mailto:[email protected]?subject=feedback">mailto link + subject</a></li>
<li><a href="mailto:[email protected]?subject=feedback&body=yo">mailto link + subject + body</a></li>
<li><a href="mailto:[email protected]?subject=Twas bryllyg, and ye slythy toves
Did gyre and gymble in ye wabe:
All mimsy were ye borogoves;
And ye mome raths outgrabe.
Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jubjub bird, and shun
The frumious Bandersnatch!">mailto link + subject with newlines</a></li>
<li><a href="mailto:?subject=Twas bryllyg, and ye slythy toves
Did gyre and gymble in ye wabe:">mailto link without recipient</a></li>
</ul>
<ul>
<li><a href="/elsewhere" target="_blank">target=_blank</a></li>
<li><a href="/elsewhere" target="_self">target=_self</a></li>
</ul>
<ul>
<li><a href="/relative">hold down cmd (+shift)</a></li>
<li><a href="/relative">hold down alt (+shift)</a></li>
<li><a href="/relative">hold down cmd+alt (+shift)</a></li>
<li><a href="/relative">hold down shift</a></li>
<li><a href="/relative">hold down control</a></li>
</ul>
<iframe srcdoc="<a href='/iframe'>iframe link</a>"></iframe>
<p class="bottom">
<a href="left">bottom left</a>
<a href="center?something+very+long+that+just+will+not+work+with+anything+really">bottom center (long)</a>
<a href="right">bottom right</a>
</p>
</body>
</html>