您的位置:首页 > 产品设计 > UI/UE

Notepad++ QuickText 插件的 HTML 配置: \Notepad++\plugins\Config\QuickText.ini

2013-07-11 11:33 459 查看
# 缩写的注解
abbr=<abbr title=''>$</abbr>

# 覆盖默认的文本方向
bdo=<bdo dir='rtl'>$</bdo>

# 表示该段文本是引用
bq=<blockquote site=''>$</blockquote>

a=<a href='$'></a>
b=<b>$</b>
c=<!-- $ -->
ss=<script>$</script>
base=<base href='$' target='$' />
body=<body>$</body>
charset=<meta http-equiv='content-type' content='text/html; charset=UTF-8'>
del=<del>$</del>
div=<div>$</div>
dl=<dl>\n    <dt>$</dt>\n    <dd></dd>\n    <dt></dt>\n    <dd></dd>\n</dl>
embed=<embed type='' src='' width='' height='' />
h3=<h3>$</h3>
head=<head>\n    </head>
iframe=<iframe src='$'></iframe>
img=<img src='$' alt='' id='' />
label=<label for='$'>$</label>
link=<link rel='stylesheet' type='text/css' href='$' />
option=<option value='$'>$</option>
p=<p>$</p>
pre=<pre>$</pre>
small=<small>$</small>
span=<span class='$'></span>
style=<style type='text/css'>\n$\n</style>
sub=<sub>$</sub>
sup=<sup>$</sup>
table=<table>\n    <caption>Table title</caption>\n    <tr>\n        <th></th>\n        <th></th>\n    </tr>\n    <tr>\n        <td></td>\n        <td></td>\n    </tr>\n</table>
td=<td>$</td>
th=<th>$</th>
tr=<tr>\n    $\n</tr>
title=<title>$</title>
ul=<ul>\n   <li>$</li>\n   <li></li>\n</ul>
html4=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\n<html>\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n    <title></title>\n    <style></style>\n    <script></script>\n</head>\n<body>\n\n$\n\n</body>\n</html>
html5=<!doctype html>\n<html>\n<head>\n    <meta charset='utf-8'>\n    <title></title>\n    <style></style>\n    <script></script>\n</head>\n<body>\n\n$\n\n</body>\n</html>

################################# html4 表单

form=<form action='' method='' name='' id=''>\n$\n</form>
keygen=<keygen name='security' />\n$
password=<input type='password' name='' id='' placeholder='' pattren='' maxlength='' value='' required />\n$
text=<input type='text' name='' id='' placeholder='' pattren='' maxlength='' value='' required />\n$
file=<input type='file' name='' id='' accept='' required />\n$
image=<input type='image' name='' id='' src='' alt='' />\n$
checkbox=<input type='checkbox' name='' id='' value='' checked />\n$
radio=<input type='radio' name='' id='' value='' checked />\n$
hidden=<input type='hidden' name='' id='' value='' />\n$
textarea=<textarea name='' rows='3' cols=''>$</textarea>
button=<input type='button' name='' id='' value='' />\n$
submit=<input type='submit' name='' id='' value='' />\n$
fieldset=<fieldset name=''>\n    <legend>$</legend>\n    <div></div>\n</fieldset>
select=<select name='$'>\n    <option value=''></option>\n    <option value=''></option>\n</select>

################################# html5 语义标签(DIV替换标签)

art=<article id=''>$</article>
aside=<aside id=''>$</aside>
footer=<footer id=''>$</footer>
header=<header id=''></header>
nav=<nav id=''>\n    $\n</nav>
canvas=<canvas id='$'></canvas>

# 对网页或区段(section)的标题进行组合。
hgroup=<hgroup>\n    $\n</hgroup>

# 定义作品的标题
cite=<cite>$</cite>

################################# html5 功能标签

# 同样的标签还有 video
audio=<audio src='$' autoplay='autoplay' controls='controls' loop='loop' preload='preload'></audio>
video=<video src='$' autoplay='autoplay' controls='controls' loop='loop' preload='preload'></video>

# 为表格中的一个或多个列定义属性值
col=<col span='2' style='' />$

# 与 input 元素配合使用该元素,来定义 input 可能的值
datalist=<datalist id='dl'>\n    <option value=''>\n    <option value=''>\n    <option value=''>\n</datalist>$

# 与 <summary> 标签 配合使用可以为 details 定义标题。标题是可见的,用户点击标题时,会显示出 details。有 open 属性。
details=<details>\n    <summary>$</summary>\n    <p>$</p>\n</details>

# 规定独立的流内容(图像、图表、照片、代码等等)
figure=<figure>\n    <figcaption></figcaption>\n    <div><!--流内容-->$</div>\n</figure>

# 定义度量衡。仅用于已知最大和最小值的度量。
meter=<meter hign='' low='' max='' min='' optimum='' value=''>$</meter>

# 当您使用一个长的选项列表时,对相关的选项进行组合会使处理更加容易。
optgroup=<optgroup label='$'>\n    <option value =''></option>\n    <option value =''></option>\n</optgroup>

# 定义运行中的进度(进程)
progress=<progress><span id='objprogress'>$</span>%</progress>

# 定义黄色背景的文字(强调作用)
mark=<mark>$</mark>

# 规定在文本中的何处适合添加换行符。
wbr=<wbr>$</wbr>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: