Skip to content

Instantly share code, notes, and snippets.

@ashleyvernon
Forked from anonymous/index.html
Created August 11, 2016 19:48
Show Gist options
  • Save ashleyvernon/a701a03a38085b20a6fdc67d2ff5ed04 to your computer and use it in GitHub Desktop.
Save ashleyvernon/a701a03a38085b20a6fdc67d2ff5ed04 to your computer and use it in GitHub Desktop.
<!-->Look it's your boilerplate! Nothing in the head shows up on the output.
So let's move to the body, where you can see things happening!</!-->
<!DOCTYPE html>
<html>
<head>
<title></title>
<style id="jsbin-css">
body {
font-size: 18px;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.5em;
padding: .8em;
}
h1, h2 {
text-transform: uppercase;
border-bottom: 4px solid black;
display: inline-block;
}
img {
display: block;
margin: 0 auto;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
footer {
text-align: center;
padding: 1em 0;
}
</style>
</head>
<body>
<header>
<h1>ELK Web Design</h1>
<img src="http://i.imgur.com/pdsjjxD.jpg">
</header>
<div>
<h2>About</h2>
<p>Elk provides clean and innovative sites for small businesses, artists, and professionals.</p>
</div>
<div>
<h2>Services</h2>
<ul>
<li>HTML</li>
<li>CSS</li>
<li>Responsive</li>
<li>Visual Design.</li>
</ul>
</div>
<footer>© 2014 ELK</footer>
<script id="jsbin-source-css" type="text/css">body {
font-size: 18px;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.5em;
padding: .8em;
}
h1, h2 {
text-transform: uppercase;
border-bottom: 4px solid black;
display: inline-block;
}
img {
display: block;
margin: 0 auto;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
footer {
text-align: center;
padding: 1em 0;
}</script>
</body>
</html>
body {
font-size: 18px;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.5em;
padding: .8em;
}
h1, h2 {
text-transform: uppercase;
border-bottom: 4px solid black;
display: inline-block;
}
img {
display: block;
margin: 0 auto;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
footer {
text-align: center;
padding: 1em 0;
}
@ashleyvernon
Copy link
Author

Exercise 4.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment