输入 !+Enter
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> </body> </html>
输入 div.list>div.item_$*6
<div class="list"> <div class="item_1"></div> <div class="item_2"></div> <div class="item_3"></div> <div class="item_4"></div> <div class="item_5"></div> <div class="item_6"></div> </div>
输入 div.wrapper
<div class="wrapper"></div>
div#wrapper
<div id="wrapper"></div>
span[title=“test”]
<span title="test"></span>
输入div>span>a
<div><span><a href=""></a></span></div>
div+p+span
<div></div> <p></p> <span></span>
div>span^i
<div><span></span></div> <i></i>
ul>li*2
<ul> <li></li> <li></li> </ul>
div>span{this is test}
<div><span>this is test</span></div>
ul>li.list_${list $}*3
<ul> <li class="list_1">list 1</li> <li class="list_2">list 2</li> <li class="list_3">list 3</li> </ul>
ul>li.item$@3*3 “@3” (表示从3开始计数)
<ul> <li class="item3">list 1</li> <li class="item4">list 2</li> <li class="item5">list 3</li> </ul>
.class
<div class="class"></div>
ul>.item
<ul> <li class="item"></li> </ul>
table>.row>.col
<table> <tr class="row"> <td class="col"></td> </tr> </table>
到此这篇关于sublime / vscode 快捷生成HTML代码的实现的文章就介绍到这了,更多相关vscode 快捷生成HTML内容请搜索插件窝以前的文章或继续浏览下面的相关文章,希望大家以后多多支持插件窝!
<div class="clearfix">
<span id="art_bot" class="jbTestPos"></span>
</div>