当前位置:网站首页>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键,这个答案仅供参考
边栏推荐
- C的内存管理
- [paper reading] Ca net: leveraging contextual features for lung cancer prediction
- reduce--遍历元素计算 具体的计算公式需要传入 结合BigDecimal
- 彻底搞懂基于Open3D的点云处理教程!
- 故障排查:kubectl报错ValidationError: unknown field \u00a0
- 开源物联网平台ThingsBoard的安装
- R language uses Cox of epidisplay package Display function obtains the summary statistical information of Cox regression model (risk rate HR, adjusted risk rate and its confidence interval, P value of
- Google's official response: we have not given up tensorflow and will develop side by side with Jax in the future
- R语言使用epiDisplay包的lrtest函数对多个glm模型(logisti回归)执行似然比检验(Likelihood ratio test)对比两个模型的性能是否有差异、广义线性模型的似然比检
- MySQL advanced learning summary 8: overview of InnoDB data storage structure page, internal structure of page, row format
猜你喜欢
Stratégie touristique d'été de Singapour: un jour pour visiter l'île de San taosha à Singapour
How to copy and paste interlaced in Excel
[daily question] the next day
Excel finds the same value in a column, deletes the row or replaces it with a blank value
[test development] software testing - concept
The difference between SLC, MLC, TLC and QLC NAND SSD: which is better?
高频面试题
迷你高尔夫球场:伦敦休闲旅游好去处
新加坡暑假旅遊攻略:一天玩轉新加坡聖淘沙島
The student Tiktok publicized that his alma mater was roast about "reducing the seal of enrollment". Netizen: hahahahahahahaha
随机推荐
ICDE 2023|TKDE Poster Session(CFP)
juypter notebook 修改默认打开文件夹以及默认浏览器
What are the links of the problem
[test development] software testing - concept
消息队列消息丢失和消息重复发送的处理策略
[daily question] first day
页面标题组件
Learning summary of MySQL advanced 6: concept and understanding of index, detailed explanation of b+ tree generation process, comparison between MyISAM and InnoDB
【JVM调优实战100例】03——JVM堆调优四例
[paper reading] Ca net: leveraging contextual features for lung cancer prediction
Golang并发编程——goroutine、channel、sync
Thoroughly understand the point cloud processing tutorial based on open3d!
Redis (7) -- database and expiration key
The R language dplyr package rowwise function and mutate function calculate the maximum value of multiple data columns in each row in the dataframe data, and generate the data column (row maximum) cor
yolov3 训练自己的数据集之生成train.txt
[论文阅读] CA-Net: Leveraging Contextual Features for Lung Cancer Prediction
R语言使用epiDisplay包的lrtest函数对多个glm模型(logisti回归)执行似然比检验(Likelihood ratio test)对比两个模型的性能是否有差异、广义线性模型的似然比检
MySQL advanced learning summary 8: overview of InnoDB data storage structure page, internal structure of page, row format
R language ggplot2 visualization: gganimate package creates dynamic histogram animation (GIF) and uses transition_ The States function displays a histogram step by step along a given dimension in the
新加坡暑假旅游攻略:一天玩转新加坡圣淘沙岛