当前位置:网站首页>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键,这个答案仅供参考
边栏推荐
- Kubernetes three open interfaces first sight
- 材质UV遮罩的技巧
- Chain game system development (unity3d chain game development details) - chain game development mature technology source code
- R language uses the lsnofunction function function of epidisplay package to list all objects in the current space, except user-defined function objects
- 高频面试题
- C的内存管理
- 学习八股文的知识点~~1
- SLC、MLC、TLC 和 QLC NAND SSD 之间的区别:哪个更好?
- 新加坡暑假旅游攻略:一天玩转新加坡圣淘沙岛
- ORA-01455: converting column overflows integer datatype
猜你喜欢

The difference between interceptor and filter

Installation of thingsboard, an open source IOT platform
![[100 cases of JVM tuning practice] 01 - introduction of JVM and program counter](/img/c4/3bba96fda92328704c2ddd929dcdf6.png)
[100 cases of JVM tuning practice] 01 - introduction of JVM and program counter

高频面试题

M2DGR:多源多场景 地面机器人SLAM数据集(ICRA 2022 )

Distance measurement - Jaccard distance

思维意识转变是施工企业数字化转型成败的关键
![[daily question] the next day](/img/8a/18329bd9b4a3a4445c8fbbc1ce562b.png)
[daily question] the next day

消息队列消息丢失和消息重复发送的处理策略

How to clean up discarded PVs and their corresponding folders
随机推荐
R语言使用epiDisplay包的cox.display函数获取cox回归模型汇总统计信息(风险率HR、调整风险率及其置信区间、模型系数的t检验的p值、Wald检验的p值和似然比检验的p值)、汇总统计
新加坡暑假旅遊攻略:一天玩轉新加坡聖淘沙島
在纽约寻找童真——新泽西州乐高乐园探索中心的美好一天
Troubleshooting: kubectl reports an error validationerror: unknown field \u00a0
[daily question] the next day
故障排查:kubectl报错ValidationError: unknown field \u00a0
问题包含哪些环节
LightGroupButton* sender = static_cast<LightGroupButton*>(QObject::sender());
《病人家属,请来一下》读书笔记
The difference between promise and observable
[daily question] first day
juypter notebook 修改默认打开文件夹以及默认浏览器
Leetcode (81) -- search rotation sort array II
Comprendre complètement le tutoriel de traitement de Point Cloud basé sur open3d!
R语言dplyr包na_if函数把向量数值中的控制转化为缺失值NA、按照映射规则把指定内容转化为缺失值NA
Processing strategy of message queue message loss and repeated message sending
9D电影是怎样的?(+维度空间常识)
Progress progress bar
#gStore-weekly | gStore源码解析(四):安全机制之黑白名单配置解析
Distance measurement - Jaccard distance