[HTML5] Emmet
For example we want to generate the code like this:
<a href="#tab1">Tab 1</a><a href="#tab2">Tab 2</a><a href="#tab3">Tab 3</a> <div id="tab1" class="tab"> <h1>Tab 1 Content</h1> </div> <div id="tab2" class="tab"> <h1>Tab 2 Content</h1> </div> <div id="tab3" class="tab"> <h1>Tab 3 Content</h1> </div>
So it is three div, has a id called tab1,2,3 and a class tab. inside the div, has h1 with the content.
We can do:
a[href=#tab$]{Tab $}*3
(#tab$.tab>h1{Tab $ Content})*3
[]: attr
#tab: id--> tab
#tab$: id--> tab with increase interger
.tab: class tab
>: child node
{}: content
(.column.is-10>input#colorInput.input.is-large)+(.column>a#goButton.button.is-large.is-primary)
<!-- Step 2: Goes inside of the div with a "columns" class
<div class="column is-10">
<input
id="colorInput"
class="input is-large"
/>
</div>
<div class="column">
<a id="goButton" class="button is-large is-primary">
Go
</a>
</div> -->
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
2015-05-07 [AngularJS] angular-formly: expressionProperties