当前位置:网站首页>Emmet基础语法
Emmet基础语法
2022-07-02 17:53:00 【今天不学习,明天变腊鸡】
#Emmet语法
1.对单个元素
1.1快速生成一个标签
标签名+tab:
效果图如下:
h1再按回车:
<h1></h1>
1.2生成标签的id属性
*标签名+tab+#
h1#再·按回车
<h1 id=""></h1>
1.3生成标签的classs属性‘
标签名+tab+.
h1.再按回车:
<h1 class=""></h1>
h1.x再按tab键就是如下:
<ha class="x"></ha>
1.4生成标签的其他属性
标签名+[属性】
img[alt],再按回车:
<img src="" alt="">
1.5生成多个单个元素
h1*3再按tab键
<a href=""></a><a href=""></a><a href=""></a>
1.6生成标签的值
li{xx}再按tab键:
<li>x</li>
2.对多个元素
2.1生成多个兄弟
a+h1+h2再按tab键
<a href=""></a>
<h1></h1>
<h2></h2>
2.2生成父子元素
每个元素用大于号括起来,就是哪个的子元素
ul>li>a再按tab键
<ul>
<li><a href=""></a></li>
</ul>
2.3序号’@’和‘#’
ul>li.ix{[email protected]}*3再按tab键:
<ul>
<li class="ix">as1</li>
<li class="ix">as2</li>
<li class="ix">as3</li>
</ul>
3.练习(生成一个5*8的表格)
table>caption{标题}+(thead>th>br>tr{表格头部}*5)+tbody>th>br*7>tr{单元格}*5
再按tab键,这个答案仅供参考
边栏推荐
- MySQL advanced learning summary 7: MySQL data structure - Comparison of hash index, AVL tree, B tree and b+ tree
- 医院在线问诊源码 医院视频问诊源码 医院小程序源码
- M2DGR:多源多场景 地面机器人SLAM数据集(ICRA 2022 )
- 二进制操作
- Google's official response: we have not given up tensorflow and will develop side by side with Jax in the future
- [fluent] dart data type (VaR data type | object data type)
- 思维意识转变是施工企业数字化转型成败的关键
- SLC、MLC、TLC 和 QLC NAND SSD 之间的区别:哪个更好?
- metric_logger小解
- 电商系统中常见的 9 大坑,你踩过没?
猜你喜欢

论文导读 | 关于将预训练语言模型作为知识库的分析与批评

LightGroupButton* sender = static_cast<LightGroupButton*>(QObject::sender());

第一次去曼谷旅游怎么玩?这份省钱攻略请收好
![[paper reading] Ca net: leveraging contextual features for lung cancer prediction](/img/ef/bb48ee88d5dc6fe876a498ab53106e.png)
[paper reading] Ca net: leveraging contextual features for lung cancer prediction

A simple PHP personal card issuing program v4.0

聊聊电商系统中红包活动设计

ICDE 2023|TKDE Poster Session(CFP)
![27: Chapter 3: develop Passport Service: 10: [registration / login] interface: after the registration / login is OK, save the user session information (uid, utoken) to redis and cookies; (one main poi](/img/b9/2066a13b160252114c2881007094f8.png)
27: Chapter 3: develop Passport Service: 10: [registration / login] interface: after the registration / login is OK, save the user session information (uid, utoken) to redis and cookies; (one main poi

MySQL advanced learning summary 8: overview of InnoDB data storage structure page, internal structure of page, row format

How performance testing creates business value
随机推荐
ORA-01455: converting column overflows integer datatype
How to set vscode to delete the whole line shortcut key?
27: Chapter 3: develop Passport Service: 10: [registration / login] interface: after the registration / login is OK, save the user session information (uid, utoken) to redis and cookies; (one main poi
《病人家属,请来一下》读书笔记
Mysql高级篇学习总结7:Mysql数据结构-Hash索引、AVL树、B树、B+树的对比
彻底搞懂基于Open3D的点云处理教程!
鸿蒙第四次学习
在纽约寻找童真——新泽西州乐高乐园探索中心的美好一天
What is 9D movie like? (+ common sense of dimension space)
How to clean up discarded PVs and their corresponding folders
reduce--遍历元素计算 具体的计算公式需要传入 结合BigDecimal
Which securities company has a low, safe and reliable online account opening commission
Redis (7) -- database and expiration key
消息队列消息丢失和消息重复发送的处理策略
【每日一题】第一天
R language dplyr package Na_ The if function converts the control in the vector value into the missing value Na, and converts the specified content into the missing value Na according to the mapping r
产品经理应具备的能力
Introduction to the paper | analysis and criticism of using the pre training language model as a knowledge base
SLAM|如何时间戳对齐?
论文导读 | 关于将预训练语言模型作为知识库的分析与批评