Created
October 24, 2011 13:56
-
-
Save esperia/1309086 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
zen-coding : | |
html>(head>title{sample}+meta[charset="UTF-8"]+link[rel="stylesheet"][href="./style.css"][type="text/css"]+script[type="text/javascript"])+(body>div#wrap>(header#header>nav>ul#menu>li*5>a)+(section#contents>h1.title)+(footer#footer>div#copyright) | |
to html : | |
<html> | |
<head> | |
<title>sample</title> | |
<meta charset="UTF-8" /> | |
<link rel="stylesheet" href="./style.css" type="text/css" /> | |
<script type="text/javascript"></script> | |
</head> | |
<body> | |
<div id="wrap"> | |
<header id="header"> | |
<nav> | |
<ul id="menu"> | |
<li> | |
<a href=""></a> | |
</li> | |
<li> | |
<a href=""></a> | |
</li> | |
<li> | |
<a href=""></a> | |
</li> | |
<li> | |
<a href=""></a> | |
</li> | |
<li> | |
<a href=""></a> | |
</li> | |
</ul> | |
</nav> | |
</header> | |
<section id="contents"> | |
<h1 class="title"></h1> | |
</section> | |
<footer id="footer"> | |
<div id="copyright"></div> | |
</footer> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment