neosnippet.vim/autoload/neosnippet/snippets/html.snip

302 lines
5.6 KiB
Plaintext
Raw Normal View History

2013-02-16 05:35:09 +00:00
snippet doctypetransitional
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
snippet doctypeframeset
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
snippet doctypestrict
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
snippet head
<head>
<meta http-equiv="content-type" content="text/html; charset=${1:utf-8}">
<title>${2}</title>
<style type="text/css">
${3}
</style>
${4}
</head>${5}
snippet metaauthor
<meta name="author" content="${1}">${2}
snippet keywords
<meta name="keywords" content="${1}">${2}
snippet metaothers
<meta name="others" content="${1}">${2}
snippet metagenerator
<meta name="generator" content="${1}">${2}
snippet metadescription
<meta name="description" content="${1}">${2}
snippet scriptcharset
<script type="text/javascript" charset="${1:UTF-8}">
${2:TARGET}
</script>${3}
snippet script
<script type="text/javascript">
${1:TARGET}
</script>${2}
snippet body
<body>
${1:TARGET}
</body>
snippet h
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<h${1:1}>${2}</h$1>${3}
snippet p
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<p>${1}</p>${2}
snippet br
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<br />
snippet hr
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<hr />
snippet comment
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<!--${1:TARGET}-->${2}
snippet b
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<b>${1:TARGET}</b>${2}
snippet small
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<small>${1:TARGET}</small>${2}
snippet strong
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<strong>${1:TARGET}</strong>${2}
snippet sub
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<sub>${1:TARGET}</sub>${2}
snippet sup
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<sup>${1:TARGET}</sup>${2}
snippet ins
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<ins>${1:TARGET}</ins>${2}
snippet del
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<del>${1:TARGET}</del>${2}
snippet em
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<em>${1:TARGET}</em>${2}
snippet bdo
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<bdo dir="${1:rtl}">${2:TARGET}</bdo>${3}
snippet pre
<pre>
${1:TARGET}
</pre>${2}
snippet blockquote
<blockquote>
${1}
</blockquote>
${2}
snippet link
abbr link stylesheet css
<link rel="${1:stylesheet}" href="${2}.css" type="text/css" media="${3:screen}" charset="utf-8">${4}
snippet alignl
text-align="left"
snippet alignr
text-align="right"
snippet alignc
text-align="center"
snippet bgcolor
bgcolor="${1}"${2}
snippet ahref
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<a href="${1}">${2:TARGET}</a>${3}
snippet ahref_blank
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<a href="${1}" target="_blank">${2:TARGET}</a>${3}
snippet ahref_parent
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<a href="${1}" target="_parent">${2:TARGET}</a>${3}
snippet ahref_top
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<a href="${1}" target="_top">${2:TARGET}</a>${3}
snippet aname
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<a name="${1}">${2:TARGET}</a>${3}
snippet framesetcols
<frameset cols="${1}">
${2:TARGET}
</frameset>${3}
snippet framesetrows
<frameset rows="${1}"
${2:TARGET}
</frameset>${3}
snippet iframe
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<iframe src="${1}"></iframe>${2}
snippet table
<table border="${1}">
${2:TARGET}
</table>${3}
snippet th
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<th>${1:TARGET}</th>${2}
snippet ulsquare
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<ul type="square">${1:TARGET}</ul>${2}
snippet ulcircle
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<ul type="circle">${1:TARGET}</ul>${2}
snippet uldisc
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<ul type="disc">${1:TARGET}</ul>${2}
snippet ol
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<ol>${1:TARGET}</ol>${2}
snippet olA
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<ol type="A">${1:TARGET}</ol>${2}
snippet ola
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<ol type="a">${1:TARGET}</ol>${2}
snippet olI
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<ol type="I">${1:TARGET}</ol>${2}
snippet oli
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<ol type="i">${1:TARGET}</ol>${2}
snippet li
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<li>${1:TARGET}</li>${2}
snippet dl
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<dl>${1:TARGET}</dl>${2}
snippet dt
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<dt>${1:TARGET}</dt>${2}
snippet dd
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<dd>${1:TARGET}</dd>${2}
snippet form
<form>
${1:TARGET}
</form>${2}
snippet inputtext
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<input type="text" name="${1:user}">${2}
snippet inputpassword
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<input type="password" name="${1:password}">${2}
snippet inputradio
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<input type="radio" name="${1}" value="value">${2}
snippet inputcheckbox
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<input type="checkbox" name="${1}">${2}
snippet textarea
<textarea rows="${1}" cols="${2}">
${3:TARGET}
</textarea>
${4}
snippet button
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<button>${1:TARGET}</button>${2}
snippet select
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<select>${1:TARGET}</select>${2}
snippet optgroup
<optgroup label="${1}">
${2:TARGET}
<optgroup>${3}
snippet option
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<option value="${1}">${2:TARGET}</option>${3}
snippet label
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<label>${1}: <input type="${2:TARGET}" /><label>${3}
snippet labelfor
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<label for="${1}:id">${2:TARGET}</label>${3}
snippet fiedset
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<fiedlset>${1:TARGET}</fiedset>${2}
snippet legend
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<legend>${1:TARGET}</legend>${2}
snippet id
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
id="${1}"${2}
snippet class
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
class="${1}"${2}
snippet pclass
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<p class="${1}">${2:TARGET}</p>${3}
snippet pid
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<p id="${1}">${2:TARGET}</p>${3}
snippet divid
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<div id="${1}">${2:TARGET}</div>${3}
snippet divclass
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<div class="${1}">${2:TARGET}</div>${3}
snippet img
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<img src="${1}">${2}
snippet div
2013-05-20 05:08:57 +00:00
options word
2013-02-16 05:35:09 +00:00
<div ${1:id="${2:someid\}"}>${3:TARGET}</div>${4}
2013-06-29 08:16:29 +00:00
snippet header
options word
<div class="header" role="header">
${1}
</div>
snippet main
options word
<div class="main" role="main">
${1}
</div>
snippet footer
options word
<div class="footer" role="contentinfo">
${1}
</div>