<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Formatting a biography</title>
</head>
<body>
<h1>Jane Doe</h1>
<div class="job-title">Web Developer</div>
<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>
<p>A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
</p>
<h2>Contact information</h2>
<ul>
<li>Email:
<a href="mailto:jane@example.com">jane@example.com</a>
</li>
<li>Web:
<a href="http://example.com">http://example.com</a>
</li>
<li>Tel: 123 45678</li>
</ul>
</body>
</html>
body {
background-color: #fff;
color: #333;
font-family: Arial, Helvetica, sans-serif;
padding: 1.5em;
/* Centering the content */
max-width: 1000px;
width: 100%;
margin: 0 auto;
}
h1 {
color: hotpink;
font-size: 2em;
font-family: Georgia, 'Times New Roman', Times, serif;
border-bottom: 10px dotted purple;
}
h2 {
font-size: 1.5em;
font-style: italic;
}
.job-title {
color: #999999;
font-weight: bold;
}
ul {
background-color: #eee;
border: 5px solid purple;
padding: 2em;
}
a:link,
a:visited {
color: #fb6542;
}
a:hover {
text-decoration: none;
color: green;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.