没有合适的资源?快使用搜索试试~ 我知道了~
首页Emmet Cheat Sheet PDF版
Emmet Cheat Sheet PDF版
需积分: 16 11 下载量 42 浏览量
更新于2023-03-16
评论
收藏 213KB PDF 举报
前端开发必备!Emmet使用手册。Emmet是很成熟的并且非常适用于编写HTML/XML 和 CSS 代码的前端开发人员,但也可以用于编程语言。
资源详情
资源评论
资源推荐
Emmet Cheat Sheet
Syntax
Child: >
nav>ul>li
<nav>
<ul>
<li></li>
</ul>
</nav>
Sibling: +
div+p+bq
<div></div>
<p></p>
<blockquote></blockquote>
Climb-up: ^
div+div>p>span+em^bq
<div></div>
<div>
<p><span></s pan><em></em></p>
<blockquote></blockquote>
</div>
div+div>p>span+em^^bq
<div></div>
<div>
<p><span></s pan><em></em></p>
</div>
<blockquote></blockquote>
Grouping: ()
div>(header>ul>li*2>a)+footer>p
<div>
<header>
<ul>
<li><a href=""></a></li>
<li><a href=""></a></li>
</ul>
</header>
<footer>
<p></p>
</footer>
</div>
(div>dl>(dt+dd)*3)+footer>p
<div>
<dl>
<dt></dt>
<dd></dd>
<dt></dt>
<dd></dd>
<dt></dt>
<dd></dd>
</dl>
</div>
<footer>
<p></p>
</footer>
Multiplication: *
ul>li*5
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
Item numbering: $
ul>li.item$*5
<ul>
<li clas s ="item1"></li>
<li clas s ="item2"></li>
<li clas s ="item3"></li>
<li clas s ="item4"></li>
<li clas s ="item5"></li>
</ul>
h$[title=item$]{Header $}*3
<h1 title="item1">Header 1</h1>
<h2 title="item2">Header 2</h2>
<h3 title="item3">Header 3</h3>
ul>li.item$$$*5
<ul>
<li clas s ="item001"></li>
<li clas s ="item002"></li>
<li clas s ="item003"></li>
<li clas s ="item004"></li>
<li clas s ="item005"></li>
</ul>
ul>li.item$@-*5
<ul>
<li clas s ="item5"></li>
<li clas s ="item4"></li>
<li clas s ="item3"></li>
<li clas s ="item2"></li>
<li clas s ="item1"></li>
</ul>
ul>li.item$@3*5
<ul>
<li clas s ="item3"></li>
<li clas s ="item4"></li>
<li clas s ="item5"></li>
<li clas s ="item6"></li>
<li clas s ="item7"></li>
</ul>
ID and CLASS attributes
#header
<div id="header"></div>
.title
<div class ="title"></div>
form#search.wide
<form id="search" clas s ="wide"></form>
p.clas s 1.class2.class3
<p clas s ="clas s 1 class2 clas s3"></p>
Custom attributes
p[title="Hello world"]
<p title="Hello world"></p>
td[rows pan=2 colspan=3 title]
<td rows pan="2" colspan="3" title=""></td>
[a='value1' b="value2"]
<div a="value1" b="value2"></div>
Text: {}
a{Click me}
<a href="">Click me</a>
p>{Click }+a{here}+{ to continue}
<p>Click <a href="">here</a> to continue</p>
Implicit tag names
.clas s
<div class="clas s "></div>
em>.clas s
<em><span clas s ="clas s"></s pan></em>
ul>.clas s
<ul>
<li class="clas s "></li>
</ul>
table>.row>.col
<table>
<tr clas s ="row">
<td clas s ="col"></td>
</tr>
</table>
HTML
All unknown abbreviations will be transformed to tag, e.g. foo → <foo></foo>.
!
Alias of html:5
<!doctype html>
<html lang="en">
<head>
<meta chars et="UTF-8" />
<title>
Document
Document </title>
</head>
<body>
</body>
</html>
a
<a href=" "> </a>
a:link
<a href="http:// "> </a>
a:mail
<a href="mailto: "> </a>
abbr
<abbr title=" "> </abbr>
acronym
<acronym title=" "> </acronym>
base
<bas e href=" " />
basefont
<bas efont />
br
剩余46页未读,继续阅读
江山
- 粉丝: 6
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- ExcelVBA中的Range和Cells用法说明.pdf
- 基于单片机的电梯控制模型设计.doc
- 主成分分析和因子分析.pptx
- 共享笔记服务系统论文.doc
- 基于数据治理体系的数据中台实践分享.pptx
- 变压器的铭牌和额定值.pptx
- 计算机网络课程设计报告--用winsock设计Ping应用程序.doc
- 高电压技术课件:第03章 液体和固体介质的电气特性.pdf
- Oracle商务智能精华介绍.pptx
- 基于单片机的输液滴速控制系统设计文档.doc
- dw考试题 5套.pdf
- 学生档案管理系统详细设计说明书.doc
- 操作系统PPT课件.pptx
- 智慧路边停车管理系统方案.pptx
- 【企业内控系列】企业内部控制之人力资源管理控制(17页).doc
- 温度传感器分类与特点.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0