网页制作 发布日期:2024/12/28 浏览次数:1
输入 !+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>