neosnippet.vim/autoload/neosnippet/snippets/xhtml.snip

238 lines
4.8 KiB
Plaintext
Raw Normal View History

2012-02-02 04:33:35 +00:00
snippet doctypetransitional
<!DOCTYPE html
2012-10-30 08:53:14 +00:00
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2012-02-02 04:33:35 +00:00
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
snippet doctypeframeset
<!DOCTYPE html
2012-10-30 08:53:14 +00:00
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2012-02-02 04:33:35 +00:00
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
snippet doctypestrict
<!DOCTYPE html
2012-10-30 08:53:14 +00:00
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2012-02-02 04:33:35 +00:00
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
snippet xhtml
<html xmlns="http://www.w3.org/1999/xhtml">
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
</html>
2012-10-30 08:53:14 +00:00
2012-02-02 04:33:35 +00:00
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}">
2012-10-30 08:53:14 +00:00
${2:TARGET}
2012-02-02 04:33:35 +00:00
</script>${3}
snippet script
<script type="text/javascript">
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
</script>${2}
snippet body
<body>
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
</body>
snippet h
<h${1:1}>${2}</h$1>${3}
snippet p
<p>${1}</p>${2}
snippet br
<br />
snippet hr
<hr />
snippet comment
2012-10-30 08:53:14 +00:00
<!--${1:TARGET}-->${2}
2012-02-02 04:33:35 +00:00
snippet b
2012-10-30 08:53:14 +00:00
<b>${1:TARGET}</b>${2}
2012-02-02 04:33:35 +00:00
snippet small
2012-10-30 08:53:14 +00:00
<small>${1:TARGET}</small>${2}
2012-02-02 04:33:35 +00:00
snippet strong
2012-10-30 08:53:14 +00:00
<strong>${1:TARGET}</strong>${2}
2012-02-02 04:33:35 +00:00
snippet sub
2012-10-30 08:53:14 +00:00
<sub>${1:TARGET}</sub>${2}
2012-02-02 04:33:35 +00:00
snippet sup
2012-10-30 08:53:14 +00:00
<sup>${1:TARGET}</sup>${2}
2012-02-02 04:33:35 +00:00
snippet ins
2012-10-30 08:53:14 +00:00
<ins>${1:TARGET}</ins>${2}
2012-02-02 04:33:35 +00:00
snippet del
2012-10-30 08:53:14 +00:00
<del>${1:TARGET}</del>${2}
2012-02-02 04:33:35 +00:00
snippet em
2012-10-30 08:53:14 +00:00
<em>${1:TARGET}</em>${2}
2012-02-02 04:33:35 +00:00
snippet bdo
2012-10-30 08:53:14 +00:00
<bdo dir="${1:rtl}">${2:TARGET}</bdo>${3}
2012-02-02 04:33:35 +00:00
snippet pre
<pre>
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
</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
2012-10-30 08:53:14 +00:00
<a href="${1}">${2:TARGET}</a>${3}
2012-02-02 04:33:35 +00:00
snippet ahref_blank
2012-10-30 08:53:14 +00:00
<a href="${1}" target="_blank">${2:TARGET}</a>${3}
2012-02-02 04:33:35 +00:00
snippet ahref_parent
2012-10-30 08:53:14 +00:00
<a href="${1}" target="_parent">${2:TARGET}</a>${3}
2012-02-02 04:33:35 +00:00
snippet ahref_top
2012-10-30 08:53:14 +00:00
<a href="${1}" target="_top">${2:TARGET}</a>${3}
2012-02-02 04:33:35 +00:00
snippet aname
2012-10-30 08:53:14 +00:00
<a name="${1}">${2:TARGET}</a>${3}
2012-02-02 04:33:35 +00:00
snippet framesetcols
<frameset cols="${1}">
2012-10-30 08:53:14 +00:00
${2:TARGET}
2012-02-02 04:33:35 +00:00
</frameset>${3}
snippet framesetrows
<frameset rows="${1}"
2012-10-30 08:53:14 +00:00
${2:TARGET}
2012-02-02 04:33:35 +00:00
</frameset>${3}
snippet iframe
<iframe src="${1}"></iframe>${2}
snippet table
<table border="${1}">
2012-10-30 08:53:14 +00:00
${2:TARGET}
2012-02-02 04:33:35 +00:00
</table>${3}
snippet th
2012-10-30 08:53:14 +00:00
<th>${1:TARGET}</th>${2}
2012-02-02 04:33:35 +00:00
snippet ulsquare
2012-10-30 08:53:14 +00:00
<ul type="square">${1:TARGET}</ul>${2}
2012-08-16 03:20:21 +00:00
snippet ulcircle
2012-10-30 08:53:14 +00:00
<ul type="circle">${1:TARGET}</ul>${2}
2012-02-02 04:33:35 +00:00
snippet uldisc
2012-10-30 08:53:14 +00:00
<ul type="disc">${1:TARGET}</ul>${2}
2012-02-02 04:33:35 +00:00
snippet ol
2012-10-30 08:53:14 +00:00
<ol>${1:TARGET}</ol>${2}
2012-02-02 04:33:35 +00:00
snippet olA
2012-10-30 08:53:14 +00:00
<ol type="A">${1:TARGET}</ol>${2}
2012-02-02 04:33:35 +00:00
snippet ola
2012-10-30 08:53:14 +00:00
<ol type="a">${1:TARGET}</ol>${2}
2012-02-02 04:33:35 +00:00
snippet olI
2012-10-30 08:53:14 +00:00
<ol type="I">${1:TARGET}</ol>${2}
2012-02-02 04:33:35 +00:00
snippet oli
2012-10-30 08:53:14 +00:00
<ol type="i">${1:TARGET}</ol>${2}
2012-02-02 04:33:35 +00:00
snippet li
2012-10-30 08:53:14 +00:00
<li>${1:TARGET}</li>${2}
2012-02-02 04:33:35 +00:00
snippet dl
2012-10-30 08:53:14 +00:00
<dl>${1:TARGET}</dl>${2}
2012-02-02 04:33:35 +00:00
snippet dt
2012-10-30 08:53:14 +00:00
<dt>${1:TARGET}</dt>${2}
2012-02-02 04:33:35 +00:00
snippet dd
2012-10-30 08:53:14 +00:00
<dd>${1:TARGET}</dd>${2}
2012-02-02 04:33:35 +00:00
snippet form
<form>
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
</form>${2}
snippet inputtext
<input type="text" name="${1:user}">${2}
snippet inputpassword
<input type="password" name="${1:password}">${2}
snippet inputradio
<input type="radio" name="${1}" value="value">${2}
snippet inputcheckbox
<input type="checkbox" name="${1}">${2}
snippet textarea
<textarea rows="${1}" cols="${2}">
2012-10-30 08:53:14 +00:00
${3:TARGET}
2012-02-02 04:33:35 +00:00
</textarea>
${4}
snippet button
2012-10-30 08:53:14 +00:00
<button>${1:TARGET}</button>${2}
2012-02-02 04:33:35 +00:00
snippet select
2012-10-30 08:53:14 +00:00
<select>${1:TARGET}</select>${2}
2012-02-02 04:33:35 +00:00
snippet optgroup
<optgroup label="${1}">
2012-10-30 08:53:14 +00:00
${2:TARGET}
2012-02-02 04:33:35 +00:00
<optgroup>${3}
snippet option
2012-10-30 08:53:14 +00:00
<option value="${1}">${2:TARGET}</option>${3}
2012-02-02 04:33:35 +00:00
snippet label
2012-10-30 08:53:14 +00:00
<label>${1}: <input type="${2:TARGET}" /><label>${3}
2012-02-02 04:33:35 +00:00
snippet labelfor
2012-10-30 08:53:14 +00:00
<label for="${1}:id">${2:TARGET}</label>${3}
2012-02-02 04:33:35 +00:00
snippet fiedset
2012-10-30 08:53:14 +00:00
<fiedlset>${1:TARGET}</fiedset>${2}
2012-02-02 04:33:35 +00:00
snippet legend
2012-10-30 08:53:14 +00:00
<legend>${1:TARGET}</legend>${2}
2012-02-02 04:33:35 +00:00
snippet id
id="${1}"${2}
snippet class
class="${1}"${2}
snippet pclass
2012-10-30 08:53:14 +00:00
<p class="${1}">${2:TARGET}</p>${3}
2012-02-02 04:33:35 +00:00
snippet pid
2012-10-30 08:53:14 +00:00
<p id="${1}">${2:TARGET}</p>${3}
2012-02-02 04:33:35 +00:00
snippet divid
2012-10-30 08:53:14 +00:00
<div id="${1}">${2:TARGET}</div>${3}
2012-02-02 04:33:35 +00:00
snippet divclass
2012-10-30 08:53:14 +00:00
<div class="${1}">${2:TARGET}</div>${3}
2012-02-02 04:33:35 +00:00
snippet img
<img src="${1}">${2}
snippet div
2012-10-30 08:53:14 +00:00
<div ${1:id="${2:someid\}"}>${3:TARGET}</div>${4}