重点常用sublimeheima前端学习web

转Sublime+HTML5的快速补全

2018-07-28  本文已影响0人  星chen

初始化:ctrl+shift+p -> 输入sshtml -> 输入! -> 按下Tab | ctrl+e 然后可以得到html5的整体结构

列表如下:

a <a href=""></a>

a:link <a href="http://"></a>
a:mail <a href="mailto:"></a>
abbr <abbr title=""></abbr>
acronym <acronym title=""></acronym>
base <base href="">
basefont <basefont>
br

bdo <bdo dir=""></bdo>
bdo:r <bdo dir="rtl"></bdo>
bdo:l <bdo dir="ltr"></bdo>
link <link rel="stylesheet" href="">
link:css <link rel="stylesheet" href="style.css" />
link:print <link rel="stylesheet" href="print.css" media="print">
link:favicon <link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
link:touch <link rel="apple-touch-icon" href="favicon.png">
link:rss <link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
link:atom <link rel="alternate" type="application/atom+xml" title="Atom" href="atom.xml">
meta:utf <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
meta:win <meta http-equiv="Content-Type" content="text/html;charset=windows-1251">
meta:vp <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
meta:compat <meta http-equiv="X-UA-Compatible" content="IE=7">
style <style></style>
script <script></script>
script:src <script src=""></script>

img <img src="" alt="">T
iframe <iframe src="" frameborder="0"></iframe>
embed <embed src="" type="">
object <object data="" type=""></object>
param <param name="" value="">
map <map name=""></map>

area <area shape="" coords="" href="" alt="">
area:d <area shape="default" href="" alt="">
area:c <area shape="circle" coords="" href="" alt="">
area:r <area shape="rect" coords="" href="" alt="">
area:p <area shape="poly" coords="" href="" alt="">

form <form action=""></form>
form:get <form action="" method="get"></form>
form:post <form action="" method="post"></form>
label <label for=""></label>
input <input type="text">
inp <input type="text" name="" id="">

input:hidden
别名:input[type=hidden name]
<input type="hidden" name="">

input:h
别名:input:hidden
<input type="hidden" name="">

input:text, input:t
别名:inp
<input type="text" name="" id="">

input:search
别名:inp[type=search]
<input type="search" name="" id="">

input:email
别名:inp[type=email]
<input type="email" name="" id="">

input:url
别名:inp[type=url]
<input type="url" name="" id="">

input:password
别名:inp[type=password]
<input type="password" name="" id="">

input:p
别名:input:password
<input type="password" name="" id="">

input:datetime
别名:inp[type=datetime]
<input type="datetime" name="" id="">

input:date
别名:inp[type=date]
<input type="date" name="" id="">

input:datetime-local
别名:inp[type=datetime-local]
<input type="datetime-local" name="" id="">

input:month
别名:inp[type=month]
<input type="month" name="" id="">

input:checkbox/input:c
别名:inp[type=checkbox]
<input type="checkbox" name="" id="">
input:radio
别名:inp[type=radio]
<input type="radio" name="" id="" />
input:r
别名:input:radio
<input type="radio" name="" id="">

input:range
别名:inp[type=range]
<input type="range" name="" id="">

input:submit/input:s
<input type="submit" value="">
input:image/input:i
<input type="image" src="" alt="">

input:button/input:b
<input type="button" value="">

isindex
<isindex>

input:reset
别名:input:button[type=reset]
<input type="reset" value="">

select
<select name="" id=""></select>
Sublime HTML 快捷键
option
<option value=""></option>

textarea
<textarea name="" id="" cols="30" rows="10"></textarea>

menu:context
别名:menu[type=context]>
<menu type="context"></menu>

menu:c
别名:menu:context
<menu type="context"></menu>

menu:toolbar
别名:menu[type=toolbar]>
<menu type="toolbar"></menu>

menu:t
别名:menu:toolbar
<menu type="toolbar"></menu>

video
<video src=""></video>

html:xml
<html xmlns="http://www.w3.org/1999/xhtml"></html>
bq
别名:blockquote
<blockquote></blockquote>

acr
别名:acronym
<acronym title=""></acronym>
ifr
别名:iframe
<iframe src="" frameborder="0"></iframe>

emb
别名:embed
<embed src="" type="">

obj
别名:object
<object data="" type=""></object>

上一篇下一篇

猜你喜欢

热点阅读