Created
July 18, 2013 19:54
-
-
Save paulund/6032505 to your computer and use it in GitHub Desktop.
Example of using Emmet to create a basic HTML page.
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
</head> | |
<body> | |
<div id="wrapper"> | |
<div id="header"> | |
<div class="logo"></div> | |
<ul class="navigation"> | |
<li><a href="">Item 1</a></li> | |
<li><a href="">Item 2</a></li> | |
<li><a href="">Item 3</a></li> | |
<li><a href="">Item 4</a></li> | |
<li><a href="">Item 5</a></li> | |
</ul> | |
</div> | |
<div id="content"> | |
<h1></h1> | |
<p></p> | |
<p></p> | |
<p></p> | |
<p></p> | |
</div> | |
<div id="sidebar"> | |
<ul> | |
<li></li> | |
<li></li> | |
<li></li> | |
<li></li> | |
<li></li> | |
</ul> | |
</div> | |
<div id="footer"></div> | |
</div> | |
</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
html:5>div#wrapper>div#header>div.logo+ul.navigation>li*5>a{Item $}^^^+div#content>h1+p*4^div#sidebar>ul>li*5^^div#footer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment