-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.html
93 lines (75 loc) · 1.79 KB
/
example.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
<!DOCTYPE html>
<html>
<head>
<title>Johnny Rodgers</title>
<style type="text/css">
/* Body */
body {
background-color: beige;
width: 80%;
margin: 0 auto;
font-family: "Helvetica", sans-serif;
font-size: 20px;
color: #444;
text-shadow: 0 1px white;
}
/* Headings */
h1, h2 {
font-family: "Georgia";
font-weight: 300;
color: seagreen;
}
/* Text */
p#bio {
font-size: 26px;
}
li.important {
font-weight: bold;
}
/* Links */
a {
color: dodgerblue;
text-decoration: none;
font-weight: bold;
}
a:hover {
text-decoration: underline;
}
/* Elements */
hr {
border: none;
border-top: 1px solid teal;
border-bottom: 1px solid white;
}
img {
float: left;
margin: 0 32px 16px 0;
border-radius: 6px;
border: 10px solid white;
box-shadow: 0 2px 4px rgba(0,0,0,0.7);
}
</style>
</head>
<body>
<img src="http://johnnyrodgers.is/images/jr.png" alt="Johnny Rodgers" />
<h1>Johnny Rodgers</h1>
<h2>About Me</h2>
<p id="bio">I'm pretty much just an average, everyday, ordinary, standard, normal, mainstream, blend-in, middle of the road, common, regular kind of guy.</p>
<p>My favourite website is probably <a href="http://www.google.com">Google</a>.</p>
<hr />
<h2>My Hobbies</h2>
<!-- This is a list of my hobbies -->
<ul>
<li class="important">Drinking espresso</li>
<li>Listening to fantastic music</li>
<li>Playing ultimate frisbee</li>
</ul>
<hr />
<h2>My Contact Information</h2>
<p>
<a href="http://www.johnnyrodgers.is">Website</a><br />
<a href="https://twitter.com/johnnyrodgersis">Twitter</a><br />
<a href="mailto:[email protected]">Email Me</a><br />
</p>
</body>
</html>