Created
October 28, 2009 23:10
-
-
Save Abizern/220958 to your computer and use it in GitHub Desktop.
Basic layout for HTML5
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 dir="ltr" lang="en"> | |
<head> | |
<meta http-equiv="Content-type" content="text/html;charset=utf-8" /> | |
<title></title> | |
<meta name="keywords" content="" /> | |
<meta name="robots" content="" /> | |
<link rel="shortcut icon" href="images/favicon.ico"> | |
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.0.0/build/cssreset/reset-min.css"> | |
<link rel="stylesheet" type="text/css" href="" media="screen" /> | |
</head> | |
<body> | |
<header> | |
</header> | |
<nav> | |
</nav> | |
<article> | |
</article> | |
<aside> | |
</aside> | |
<footer> | |
</footer> | |
</body> | |
</html> |
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
/* Make sure that HTML5 elements are treated as block level */ | |
header, nav, article, section, aside, footer { | |
display: block; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment