用sublime text2新建文件快速生成HTML头部信息

安装 Emmet 也有快速生成文件头的功能啊,而且更强大啊
输入下边加粗的缩写,然后Tab,就OK了啊
http://docs.emmet.io/cheat-sheet/

html:4t


lang="${lang}">

http-equiv="Content-Type"content="text/html;charset=${charset}">
</span><span>Document</span><span>


${child}

html:4s


lang="${lang}">

http-equiv="Content-Type"content="text/html;charset=${charset}">
</span><span>Document</span><span>


${child}

html:xt


xmlns="http://www.w3.org/1999/xhtml"xml:lang="${lang}">

http-equiv="Content-Type"content="text/html;charset=${charset}"/>



${child}

html:xs


xmlns="http://www.w3.org/1999/xhtml"xml:lang="${lang}">

http-equiv="Content-Type"content="text/html;charset=${charset}"/>
</span><span>Document</span><span>


${child}

html:xxs


xmlns="http://www.w3.org/1999/xhtml"xml:lang="${lang}">

http-equiv="Content-Type"content="text/html;charset=${charset}"/>
</span><span>Document</span><span>


${child}

html:5


lang="${lang}">

charset="${charset}">
</span><span>Document</span><span>


${child}

转载于:https://www.cnblogs.com/mbzstar/p/3229874.html

你可能感兴趣的:(用sublime text2新建文件快速生成HTML头部信息)