Last active
August 29, 2015 14:08
-
-
Save cheng470/228f90dda56cb62250be to your computer and use it in GitHub Desktop.
使用Emmet写一个完整的HTML5文档结构
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
<!-- | |
!>#wrapper>(header>(#logo>img)+h1+nav>ul>li*3)+(#body>header>h2+p)+(footer>p) | |
--> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
</head> | |
<body> | |
<div id="wrapper"> | |
<header> | |
<div id="logo"><img src="" alt=""></div> | |
<h1></h1> | |
<nav> | |
<ul> | |
<li></li> | |
<li></li> | |
<li></li> | |
</ul> | |
</nav> | |
</header> | |
<div id="body"> | |
<header> | |
<h2></h2> | |
<p></p> | |
</header> | |
</div> | |
<footer> | |
<p></p> | |
</footer> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment