Last active
December 13, 2015 23:28
-
-
Save justinthrelkeld/4991612 to your computer and use it in GitHub Desktop.
basic HTML5 template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "utf-8"; | |
@import url("fonts.css"); | |
html{height:100%;} | |
body{ | |
height:100%; | |
font-size: 100%; | |
margin: 0 auto; | |
width: 65em; | |
} | |
header{} | |
header h1{} | |
nav{} | |
nav ul{ | |
margin:0; | |
} | |
nav ul li{ | |
margin:0; | |
display: block; | |
float:left; | |
} | |
nav ul li a{ | |
} | |
main{} | |
footer{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Page Title</title> | |
<link href="styles.css" rel="stylesheet" type="text/css" /> | |
</head> | |
<body> | |
<header id="top"> | |
<h1>Page Title</h1> | |
</header> | |
<nav> | |
<ul> | |
<li><a href="#">Link 1</a></li> | |
</ul> | |
</nav> | |
<main> | |
<h2>Content</h2> | |
</main> | |
<footer> | |
</footer> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment