|
1
|
ul>li*6 |
(2)接着按下 tab 键,之前的缩写代码就会自动扩展为完整的 html 代码片断。
|
1
2
3
4
5
|
<nav> <ul> <li></li> </ul></nav> |
|
1
2
3
|
<div></div><p></p><blockquote></blockquote> |
|
1
2
3
4
5
|
<div></div><div> <p><span></span><em></em></p> <blockquote></blockquote></div> |
|
1
2
3
4
5
|
<div></div><div> <p><span></span><em></em></p></div><blockquote></blockquote> |
|
1
2
3
4
5
6
7
8
9
10
11
|
<div> <header> <ul> <li><a href=""></a></li> <li><a href=""></a></li> </ul> </header> <footer> <p></p> </footer></div> |
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<div> <dl> <dt></dt> <dd></dd> <dt></dt> <dd></dd> <dt></dt> <dd></dd> </dl></div><footer> <p></p></footer> |
|
1
2
3
4
5
6
7
|
<ul> <li></li> <li></li> <li></li> <li></li> <li></li></ul> |
|
1
2
3
4
5
6
7
|
<ul> <li class="item1"></li> <li class="item2"></li> <li class="item3"></li> <li class="item4"></li> <li class="item5"></li></ul> |
|
1
2
3
|
<h1 title="item1">Header 1</h1><h2 title="item2">Header 2</h2><h3 title="item3">Header 3</h3> |
|
1
2
3
4
5
6
7
|
<ul> <li class="item001"></li> <li class="item002"></li> <li class="item003"></li> <li class="item004"></li> <li class="item005"></li></ul> |
|
1
2
3
4
5
6
7
|
<ul> <li class="item5"></li> <li class="item4"></li> <li class="item3"></li> <li class="item2"></li> <li class="item1"></li></ul> |
|
1
2
3
4
5
6
7
|
<ul> <li class="item3"></li> <li class="item4"></li> <li class="item5"></li> <li class="item6"></li> <li class="item7"></li></ul> |
|
1
|
<div id="header"></div> |
|
1
|
<div class="title"></div> |
|
1
|
<form id="search" class="wide"></form> |
|
1
|
<p class="class1 class2 class3"></p> |
|
1
|
<p title="Hello world"></p> |
|
1
|
<td rowspan="2" colspan="3" title=""></td> |
|
1
|
<div a="value1" b="value2"></div> |
|
1
|
<a href="">Click me</a> |
|
1
|
<p>Click <a href="">here</a> to continue</p> |
|
1
|
<div class="class"></div> |
|
1
|
<em><span class="class"></span></em> |
|
1
2
3
|
<ul> <li class="class"></li></ul> |
|
1
2
3
4
5
|
<table> <tr class="row"> <td class="col"></td> </tr></table> |
|
1
|
<hangge></hangge> |
|
1
2
3
4
5
6
7
8
9
10
11
12
|
<!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> |
|
1
|
<a href=""></a> |
|
1
|
|
|
1
|
<a href="mailto:"></a> |
|
1
|
<abbr title=""></abbr> |
|
1
|
<acronym title=""></acronym> |
|
1
|
<base href="" /> |
|
1
|
<basefont /> |
|
1
|
<br /> |
|
1
|
<frame /> |
|
1
|
<hr /> |
|
1
|
<bdo dir=""></bdo> |
|
1
|
<bdo dir="rtl"></bdo> |
|
1
|
<bdo dir="ltr"></bdo> |
|
1
|
<col /> |
|
1
|
<link rel="stylesheet" href="" /> |
|
1
|
<link rel="stylesheet" href="style.css" /> |
|
1
|
<link rel="stylesheet" href="print.css" media="print" /> |
|
1
|
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" /> |
|
1
|
<link rel="apple-touch-icon" href="favicon.png" /> |
|
1
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml" /> |
|
1
|
<link rel="alternate" type="application/atom+xml" title="Atom" href="atom.xml" /> |
|
1
|
<meta /> |
|
1
|
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> |
|
1
|
<meta http-equiv="Content-Type" content="text/html;charset=windows-1251" /> |
|
1
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" /> |
|
1
|
<meta http-equiv="X-UA-Compatible" content="IE=7" /> |
|
1
|
<style></style> |
|
1
|
<script></script> |
|
1
|
<script src=""></script> |
|
1
|
<img src="" alt="" /> |
|
1
|
<iframe src="" frameborder="0"></iframe> |
|
1
|
<embed src="" type="" /> |
|
1
|
<object data="" type=""></object> |
|
1
|
<param name="" value="" /> |
|
1
|
<map name=""></map> |
|
1
|
<area shape="" coords="" href="" alt="" /> |
|
1
|
<area shape="default" href="" alt="" /> |
|
1
|
<area shape="circle" coords="" href="" alt="" /> |
|
1
|
<area shape="rect" coords="" href="" alt="" /> |
|
1
|
<area shape="poly" coords="" href="" alt="" /> |
|
1
|
<form action=""></form> |
|
1
|
<form action="" method="get"></form> |
|
1
|
<form action="" method="post"></form> |
|
1
|
<label for=""></label> |
|
1
|
<input type="text" /> |
|
1
|
<input type="text" name="" id="" /> |
|
1
|
<input type="hidden" name="" /> |
|
1
|
<input type="hidden" name="" /> |
|
1
|
<input type="text" name="" id="" /> |
|
1
|
<input type="search" name="" id="" /> |
|
1
|
<input type="email" name="" id="" /> |
|
1
|
<input type="url" name="" id="" /> |
|
1
|
<input type="password" name="" id="" /> |
|
1
|
<input type="password" name="" id="" /> |
|
1
|
<input type="datetime" name="" id="" /> |
|
1
|
<input type="date" name="" id="" /> |
|
1
|
<input type="datetime-local" name="" id="" /> |
|
1
|
<input type="month" name="" id="" /> |
|
1
|
<input type="week" name="" id="" /> |
|
1
|
<input type="time" name="" id="" /> |
|
1
|
<input type="number" name="" id="" /> |
|
1
|
<input type="color" name="" id="" /> |
|
1
|
<input type="checkbox" name="" id="" /> |
|
1
|
<input type="checkbox" name="" id="" /> |
|
1
|
<input type="radio" name="" id="" /> |
|
1
|
<input type="radio" name="" id="" /> |
|
1
|
<input type="range" name="" id="" /> |
|
1
|
<input type="file" name="" id="" /> |
|
1
|
<input type="file" name="" id="" /> |
|
1
|
<input type="submit" value="" /> |
|
1
|
<input type="submit" value="" /> |
|
1
|
<input type="image" src="" alt="" /> |
|
1
|
<input type="image" src="" alt="" /> |
|
1
|
<input type="button" value="" /> |
|
1
|
<input type="button" value="" /> |
|
1
|
<isindex /> |
|
1
|
<input type="reset" value="" /> |
|
1
|
<select name="" id=""></select> |
|
1
|
<option value=""></option> |
|
1
|
<textarea name="" id="" cols="30" rows="10"></textarea> |
|
1
|
<menu type="context"></menu> |
|
1
|
<menu type="context"></menu> |
|
1
|
<menu type="toolbar"></menu> |
|
1
|
<menu type="toolbar"></menu> |
|
1
|
<video src=""></video> |
|
1
|
<audio src=""></audio> |
|
1
|
|
|
1
|
<keygen /> |
|
1
|
<command /> |
|
1
|
<blockquote></blockquote> |
|
1
|
<acronym title=""></acronym> |
|
1
|
<figure></figure> |
|
1
|
<figcaption></figcaption> |
|
1
|
<iframe src="" frameborder="0"></iframe> |
|
1
|
<embed src="" type="" /> |
|
1
|
<object data="" type=""></object> |
|
1
|
<source></source> |
|
1
|
<caption></caption> |
|
1
|
<colgroup></colgroup> |
|
1
|
<fieldset></fieldset> |
|
1
|
<button></button> |
|
1
|
<button type="button"></button> |
|
1
|
<button type="reset"></button> |
|
1
|
<button type="submit"></button> |
原文出自:www.hangge.com 转载请保留原文链接:http://www.hangge.com/blog/cache/detail_1537.html
Atom - Emmet插件的使用详解(HTML/CSS代码自动补全)
原文:https://www.cnblogs.com/c-x-m/p/9016180.html