当前位置:网站首页>Emmet basic syntax
Emmet basic syntax
2022-07-02 19:09:00 【If you don't study today, you will become a cured chicken tomor】
#Emmet grammar
1. For a single element
1.1 Quickly generate a tag
Tag name +tab:
The renderings are as follows :
h1 Press enter again :
<h1></h1>
1.2 Generate tags id attribute
* Tag name +tab+#
h1# Again · Press enter
<h1 id=""></h1>
1.3 Generate tags classs attribute ‘
Tag name +tab+.
h1. Press enter again :
<h1 class=""></h1>
h1.x Press again tab The key is as follows :
<ha class="x"></ha>
1.4 Generate other attributes of the tag
Tag name +[ attribute 】
img[alt], Press enter again :
<img src="" alt="">
1.5 Generate multiple single elements
h1*3 Press again tab key
<a href=""></a><a href=""></a><a href=""></a>
1.6 Generate the value of the tag
li{xx} Press again tab key :
<li>x</li>
2. For multiple elements
2.1 Generate multiple brothers
a+h1+h2 Press again tab key
<a href=""></a>
<h1></h1>
<h2></h2>
2.2 Generate parent-child elements
Each element is enclosed by a greater than sign , Is the child element of which
ul>li>a Press again tab key
<ul>
<li><a href=""></a></li>
</ul>
2.3 Serial number ’@’ and ‘#’
ul>li.ix{[email protected]}*3 Press again tab key :
<ul>
<li class="ix">as1</li>
<li class="ix">as2</li>
<li class="ix">as3</li>
</ul>
3. practice ( Generate a 5*8 Table for )
table>caption{ title }+(thead>th>br>tr{ Form head }*5)+tbody>th>br*7>tr{ Cell }*5
Press again tab key , This answer is for reference only
边栏推荐
- [100 cases of JVM tuning practice] 03 -- four cases of JVM heap tuning
- juypter notebook 修改默认打开文件夹以及默认浏览器
- The difference between SLC, MLC, TLC and QLC NAND SSD: which is better?
- Industrial software lecture - core technology analysis of 3D CAD design software - the second lecture of the Forum
- Tips for material UV masking
- Have you stepped on the nine common pits in the e-commerce system?
- 拦截器与过滤器的区别
- [daily question] the next day
- 页面标题组件
- FastDFS安装
猜你喜欢

Stratégie touristique d'été de Singapour: un jour pour visiter l'île de San taosha à Singapour

Tips for material UV masking

Leetcode (81) -- search rotation sort array II

【JVM调优实战100例】02——虚拟机栈与本地方法栈调优五例

新手必看,点击两个按钮切换至不同的内容

Looking for innocence in New York -- a beautiful day at the discovery center of Legoland, New Jersey

The difference between SLC, MLC, TLC and QLC NAND SSD: which is better?

Compile oglpg-9th-edition source code with clion

Learning summary of MySQL advanced 6: concept and understanding of index, detailed explanation of b+ tree generation process, comparison between MyISAM and InnoDB

中国信通院《数据安全产品与服务图谱》,美创科技实现四大板块全覆盖
随机推荐
Masa framework - DDD design (1)
Industrial software lecture - core technology analysis of 3D CAD design software - the second lecture of the Forum
2022 software engineering final exam recall Edition
Hospital online inquiry source code hospital video inquiry source code hospital applet source code
Deep learning mathematics foundation
R语言使用epiDisplay包的lsNoFunction函数列出当前空间中的所有对象、除了用户自定义的函数对象
深度学习数学基础
Emmet基础语法
Troubleshooting: kubectl reports an error validationerror: unknown field \u00a0
Websocket of Web real-time communication technology
数据降维——主成分分析
yolov3 训练自己的数据集之生成train.txt
全链路数字化转型下,零售企业如何打开第二增长曲线
QT中的QPropertyAnimation使用和toast案列
Stratégie touristique d'été de Singapour: un jour pour visiter l'île de San taosha à Singapour
为什么要做企业固定资产管理系统,企业如何加强固定资产管理
在纽约寻找童真——新泽西州乐高乐园探索中心的美好一天
The difference between interceptor and filter
云呐|为什么要用固定资产管理系统,怎么启用固定资产管理系统
医院在线问诊源码 医院视频问诊源码 医院小程序源码