1
0
Fork 0
mirror of synced 2024-11-17 22:45:34 -05:00
ultimate-vim/sources_non_forked/vim-snippets/snippets/html.snippets

878 lines
17 KiB
Text
Raw Normal View History

2012-08-16 23:41:25 -04:00
# Some useful Unicode entities
# Non-Breaking Space
snippet nbs
 
# ←
snippet left
←
# →
snippet right
→
# ↑
snippet up
↑
# ↓
snippet down
↓
# ↩
snippet return
↩
# ⇤
snippet backtab
⇤
# ⇥
snippet tab
⇥
# ⇧
snippet shift
⇧
# ⌃
snippet ctrl
⌃
# ⌅
snippet enter
⌅
# ⌘
snippet cmd
⌘
# ⌥
snippet option
⌥
# ⌦
snippet delete
⌦
# ⌫
snippet backspace
⌫
# ⎋
snippet esc
⎋
2014-08-03 18:02:51 -04:00
# comment
snippet //
<!-- ${1} -->${0}
2012-08-16 23:41:25 -04:00
# Generic Doctype
snippet doctype HTML 4.01 Strict
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
snippet doctype HTML 4.01 Transitional
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
snippet doctype HTML 5
<!DOCTYPE HTML>
snippet doctype XHTML 1.0 Frameset
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
snippet doctype XHTML 1.0 Strict
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
snippet doctype XHTML 1.0 Transitional
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
snippet doctype XHTML 1.1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
# HTML Doctype 4.01 Strict
snippet docts
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
# HTML Doctype 4.01 Transitional
snippet doct
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
# HTML Doctype 5
snippet doct5
<!DOCTYPE HTML>
# XHTML Doctype 1.0 Frameset
snippet docxf
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
# XHTML Doctype 1.0 Strict
snippet docxs
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
# XHTML Doctype 1.0 Transitional
snippet docxt
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
# XHTML Doctype 1.1
snippet docx
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
# Attributes
snippet attr
${1:attribute}="${0:property}"
2012-08-16 23:41:25 -04:00
snippet attr+
${1:attribute}="${2:property}" attr+
2012-08-16 23:41:25 -04:00
snippet .
class="${1}"
2012-08-16 23:41:25 -04:00
snippet #
id="${1}"
2012-08-16 23:41:25 -04:00
snippet alt
alt="${1}"
2012-08-16 23:41:25 -04:00
snippet charset
charset="${1:utf-8}"
2012-08-16 23:41:25 -04:00
snippet data
data-${1}="${2:$1}"
2012-08-16 23:41:25 -04:00
snippet for
for="${1}"
2012-08-16 23:41:25 -04:00
snippet height
height="${1}"
2012-08-16 23:41:25 -04:00
snippet href
href="${1:#}"
2012-08-16 23:41:25 -04:00
snippet lang
lang="${1:en}"
2012-08-16 23:41:25 -04:00
snippet media
media="${1}"
2012-08-16 23:41:25 -04:00
snippet name
name="${1}"
2012-08-16 23:41:25 -04:00
snippet rel
rel="${1}"
2012-08-16 23:41:25 -04:00
snippet scope
scope="${1:row}"
2012-08-16 23:41:25 -04:00
snippet src
src="${1}"
2012-08-16 23:41:25 -04:00
snippet title=
title="${1}"
2012-08-16 23:41:25 -04:00
snippet type
type="${1}"
2012-08-16 23:41:25 -04:00
snippet value
value="${1}"
2012-08-16 23:41:25 -04:00
snippet width
width="${1}"
2012-08-16 23:41:25 -04:00
# Elements
snippet a
<a href="${1:#}">${0:$1}</a>
2012-08-16 23:41:25 -04:00
snippet a.
<a class="${1}" href="${2:#}">${0:$1}</a>
2012-08-16 23:41:25 -04:00
snippet a#
<a id="${1}" href="${2:#}">${0:$1}</a>
2012-08-16 23:41:25 -04:00
snippet a:ext
<a href="http://${1:example.com}">${0:$1}</a>
2012-08-16 23:41:25 -04:00
snippet a:mail
<a href="mailto:${1:joe@example.com}?subject=${2:feedback}">${0:email me}</a>
2014-07-02 07:18:18 -04:00
snippet ac
<a href="`@+`">${0:`@+`}</a>
2012-08-16 23:41:25 -04:00
snippet abbr
<abbr title="${1}">${0}</abbr>
2012-08-16 23:41:25 -04:00
snippet address
<address>
${0}
2012-08-16 23:41:25 -04:00
</address>
snippet area
2016-07-03 07:53:59 -04:00
<area shape="${1:rect}" coords="${2}" href="${3}" alt="${0}" />
2012-08-16 23:41:25 -04:00
snippet area+
2016-07-03 07:53:59 -04:00
<area shape="${1:rect}" coords="${2}" href="${3}" alt="${4}" />
area+
2012-08-16 23:41:25 -04:00
snippet area:c
2016-07-03 07:53:59 -04:00
<area shape="circle" coords="${1}" href="${2}" alt="${0}" />
2012-08-16 23:41:25 -04:00
snippet area:d
2016-07-03 07:53:59 -04:00
<area shape="default" coords="${1}" href="${2}" alt="${0}" />
2012-08-16 23:41:25 -04:00
snippet area:p
2016-07-03 07:53:59 -04:00
<area shape="poly" coords="${1}" href="${2}" alt="${0}" />
2012-08-16 23:41:25 -04:00
snippet area:r
2016-07-03 07:53:59 -04:00
<area shape="rect" coords="${1}" href="${2}" alt="${0}" />
2012-08-16 23:41:25 -04:00
snippet article
<article>
${0}
2012-08-16 23:41:25 -04:00
</article>
snippet article.
<article class="${1}">
${0}
2012-08-16 23:41:25 -04:00
</article>
snippet article#
<article id="${1}">
${0}
2012-08-16 23:41:25 -04:00
</article>
snippet aside
<aside>
${0}
2012-08-16 23:41:25 -04:00
</aside>
snippet aside.
<aside class="${1}">
${0}
2012-08-16 23:41:25 -04:00
</aside>
snippet aside#
<aside id="${1}">
${0}
2012-08-16 23:41:25 -04:00
</aside>
snippet audio
<audio src="${1}>${0}</audio>
2012-08-16 23:41:25 -04:00
snippet b
<b>${0}</b>
2012-08-16 23:41:25 -04:00
snippet base
2016-07-03 07:53:59 -04:00
<base href="${1}" target="${0}" />
2012-08-16 23:41:25 -04:00
snippet bdi
<bdi>${0}</bdo>
2012-08-16 23:41:25 -04:00
snippet bdo
<bdo dir="${1}">${0}</bdo>
2012-08-16 23:41:25 -04:00
snippet bdo:l
<bdo dir="ltr">${0}</bdo>
2012-08-16 23:41:25 -04:00
snippet bdo:r
<bdo dir="rtl">${0}</bdo>
2012-08-16 23:41:25 -04:00
snippet blockquote
<blockquote>
${0}
2012-08-16 23:41:25 -04:00
</blockquote>
snippet body
<body>
${0}
2012-08-16 23:41:25 -04:00
</body>
snippet br
2016-07-03 07:53:59 -04:00
<br />
2012-08-16 23:41:25 -04:00
snippet button
<button type="${1:submit}">${0}</button>
2012-08-16 23:41:25 -04:00
snippet button.
<button class="${1:button}" type="${2:submit}">${0}</button>
2012-08-16 23:41:25 -04:00
snippet button#
<button id="${1}" type="${2:submit}">${0}</button>
2012-08-16 23:41:25 -04:00
snippet button:s
<button type="submit">${0}</button>
2012-08-16 23:41:25 -04:00
snippet button:r
<button type="reset">${0}</button>
2012-08-16 23:41:25 -04:00
snippet canvas
<canvas>
${0}
2012-08-16 23:41:25 -04:00
</canvas>
snippet caption
<caption>${0}</caption>
2012-08-16 23:41:25 -04:00
snippet cite
<cite>${0}</cite>
2012-08-16 23:41:25 -04:00
snippet code
<code>${0}</code>
2012-08-16 23:41:25 -04:00
snippet col
2016-07-03 07:53:59 -04:00
<col />
2012-08-16 23:41:25 -04:00
snippet col+
2016-07-03 07:53:59 -04:00
<col />
col+
2012-08-16 23:41:25 -04:00
snippet colgroup
<colgroup>
${0}
2012-08-16 23:41:25 -04:00
</colgroup>
snippet colgroup+
<colgroup>
<col />
col+${0}
2012-08-16 23:41:25 -04:00
</colgroup>
snippet command
2015-12-08 08:20:04 -05:00
<command type="command" label="${1}" icon="${0}">
2012-08-16 23:41:25 -04:00
snippet command:c
2015-12-08 08:20:04 -05:00
<command type="checkbox" label="${1}" icon="${0}">
2012-08-16 23:41:25 -04:00
snippet command:r
2015-12-08 08:20:04 -05:00
<command type="radio" radiogroup="${1}" label="${2}" icon="${0}">
2012-08-16 23:41:25 -04:00
snippet datagrid
<datagrid>
${0}
2012-08-16 23:41:25 -04:00
</datagrid>
snippet datalist
<datalist>
${0}
2012-08-16 23:41:25 -04:00
</datalist>
snippet datatemplate
<datatemplate>
${0}
2012-08-16 23:41:25 -04:00
</datatemplate>
snippet dd
<dd>${0}</dd>
2012-08-16 23:41:25 -04:00
snippet dd.
<dd class="${1}">${0}</dd>
2012-08-16 23:41:25 -04:00
snippet dd#
<dd id="${1}">${0}</dd>
2012-08-16 23:41:25 -04:00
snippet del
<del>${0}</del>
2012-08-16 23:41:25 -04:00
snippet details
<details>${0}</details>
2012-08-16 23:41:25 -04:00
snippet dfn
<dfn>${0}</dfn>
2012-08-16 23:41:25 -04:00
snippet dialog
<dialog>
${0}
2012-08-16 23:41:25 -04:00
</dialog>
snippet div
<div>
${0}
2012-08-16 23:41:25 -04:00
</div>
snippet div.
<div class="${1}">
${0}
2012-08-16 23:41:25 -04:00
</div>
snippet div#
<div id="${1}">
${0}
2012-08-16 23:41:25 -04:00
</div>
snippet dl
<dl>
${0}
2012-08-16 23:41:25 -04:00
</dl>
snippet dl.
<dl class="${1}">
${0}
2012-08-16 23:41:25 -04:00
</dl>
snippet dl#
<dl id="${1}">
${0}
2012-08-16 23:41:25 -04:00
</dl>
snippet dl+
<dl>
<dt>${1}</dt>
<dd>${2}</dd>
dt+${0}
2012-08-16 23:41:25 -04:00
</dl>
snippet dt
<dt>${0}</dt>
2012-08-16 23:41:25 -04:00
snippet dt.
<dt class="${1}">${0}</dt>
2012-08-16 23:41:25 -04:00
snippet dt#
<dt id="${1}">${0}</dt>
2012-08-16 23:41:25 -04:00
snippet dt+
<dt>${1}</dt>
<dd>${2}</dd>
dt+${0}
2012-08-16 23:41:25 -04:00
snippet em
<em>${0}</em>
2012-08-16 23:41:25 -04:00
snippet embed
2016-07-03 07:53:59 -04:00
<embed src="${1}" type="${0}" />
2012-08-16 23:41:25 -04:00
snippet fieldset
<fieldset>
${0}
2012-08-16 23:41:25 -04:00
</fieldset>
snippet fieldset.
<fieldset class="${1}">
${0}
2012-08-16 23:41:25 -04:00
</fieldset>
snippet fieldset#
<fieldset id="${1}">
${0}
2012-08-16 23:41:25 -04:00
</fieldset>
snippet fieldset+
<fieldset>
<legend><span>${1}</span></legend>
${2}
</fieldset>
fieldset+${0}
2012-08-16 23:41:25 -04:00
snippet figcaption
<figcaption>${0}</figcaption>
2012-08-16 23:41:25 -04:00
snippet figure
<figure>${0}</figure>
2014-09-27 11:32:18 -04:00
snippet figure#
<figure id="${1}">
${0}
</figure>
snippet figure.
<figure class="${1}">
${0}
</figure>
2012-08-16 23:41:25 -04:00
snippet footer
<footer>
${0}
2012-08-16 23:41:25 -04:00
</footer>
snippet footer.
<footer class="${1}">
${0}
2012-08-16 23:41:25 -04:00
</footer>
snippet footer#
<footer id="${1}">
${0}
2012-08-16 23:41:25 -04:00
</footer>
snippet form
<form action="${1}" method="${2:post}">
${0}
2012-08-16 23:41:25 -04:00
</form>
snippet form.
<form class="${1}" action="${2}" method="${3:post}">
${0}
2012-08-16 23:41:25 -04:00
</form>
snippet form#
<form id="${1}" action="${2}" method="${3:post}">
${0}
2012-08-16 23:41:25 -04:00
</form>
snippet h1
<h1>${0}</h1>
2012-08-16 23:41:25 -04:00
snippet h1.
<h1 class="${1}">${0}</h1>
2012-08-16 23:41:25 -04:00
snippet h1#
<h1 id="${1}">${0}</h1>
2012-08-16 23:41:25 -04:00
snippet h2
<h2>${0}</h2>
2012-08-16 23:41:25 -04:00
snippet h2.
<h2 class="${1}">${0}</h2>
2012-08-16 23:41:25 -04:00
snippet h2#
<h2 id="${1}">${0}</h2>
2012-08-16 23:41:25 -04:00
snippet h3
<h3>${0}</h3>
2012-08-16 23:41:25 -04:00
snippet h3.
<h3 class="${1}">${0}</h3>
2012-08-16 23:41:25 -04:00
snippet h3#
<h3 id="${1}">${0}</h3>
2012-08-16 23:41:25 -04:00
snippet h4
<h4>${0}</h4>
2012-08-16 23:41:25 -04:00
snippet h4.
<h4 class="${1}">${0}</h4>
2012-08-16 23:41:25 -04:00
snippet h4#
<h4 id="${1}">${0}</h4>
2012-08-16 23:41:25 -04:00
snippet h5
<h5>${0}</h5>
2012-08-16 23:41:25 -04:00
snippet h5.
<h5 class="${1}">${0}</h5>
2012-08-16 23:41:25 -04:00
snippet h5#
<h5 id="${1}">${0}</h5>
2012-08-16 23:41:25 -04:00
snippet h6
<h6>${0}</h6>
2012-08-16 23:41:25 -04:00
snippet h6.
<h6 class="${1}">${0}</h6>
2012-08-16 23:41:25 -04:00
snippet h6#
<h6 id="${1}">${0}</h6>
2012-08-16 23:41:25 -04:00
snippet head
<head>
2016-07-03 07:53:59 -04:00
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
2012-08-16 23:41:25 -04:00
2013-07-17 19:06:05 -04:00
<title>${1:`substitute(vim_snippets#Filename('', 'Page Title'), '^.', '\u&', '')`}</title>
${0}
2012-08-16 23:41:25 -04:00
</head>
snippet header
<header>
${0}
2012-08-16 23:41:25 -04:00
</header>
snippet header.
<header class="${1}">
${0}
2012-08-16 23:41:25 -04:00
</header>
snippet header#
<header id="${1}">
${0}
2012-08-16 23:41:25 -04:00
</header>
snippet hgroup
<hgroup>
${0}
2012-08-16 23:41:25 -04:00
</hgroup>
snippet hgroup.
<hgroup class="${1}>
${0}
2012-08-16 23:41:25 -04:00
</hgroup>
snippet hr
2016-07-03 07:53:59 -04:00
<hr />
2012-08-16 23:41:25 -04:00
snippet html
<html>
${0}
2012-08-16 23:41:25 -04:00
</html>
snippet xhtml
<html xmlns="http://www.w3.org/1999/xhtml">
${0}
2012-08-16 23:41:25 -04:00
</html>
snippet html5
<!DOCTYPE html>
<html>
<head>
2016-07-03 07:53:59 -04:00
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
2013-07-17 19:06:05 -04:00
<title>${1:`substitute(vim_snippets#Filename('', 'Page Title'), '^.', '\u&', '')`}</title>
2014-09-27 11:32:18 -04:00
${2:link}
</head>
<body>
${0:body}
</body>
</html>
snippet html5l
<!DOCTYPE html>
<html lang="${1:es}">
<head>
2016-07-03 07:53:59 -04:00
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
2014-09-27 11:32:18 -04:00
<title>${2:`substitute(vim_snippets#Filename('', 'Page Title'), '^.', '\u&', '')`}</title>
${3:link}
</head>
<body>
${0:body}
</body>
</html>
2012-08-16 23:41:25 -04:00
snippet i
<i>${0}</i>
2012-08-16 23:41:25 -04:00
snippet iframe
<iframe src="${1}" frameborder="0"></iframe>
2012-08-16 23:41:25 -04:00
snippet iframe.
<iframe class="${1}" src="${2}" frameborder="0"></iframe>
2012-08-16 23:41:25 -04:00
snippet iframe#
<iframe id="${1}" src="${2}" frameborder="0"></iframe>
2012-08-16 23:41:25 -04:00
snippet img
2016-07-03 07:53:59 -04:00
<img src="${1}" alt="${2}" />
2012-08-16 23:41:25 -04:00
snippet img.
2016-07-03 07:53:59 -04:00
<img class="${1}" src="${2}" alt="${3}" />
2012-08-16 23:41:25 -04:00
snippet img#
2016-07-03 07:53:59 -04:00
<img id="${1}" src="${2}" alt="${3}" />
2012-08-16 23:41:25 -04:00
snippet input
2016-07-03 07:53:59 -04:00
<input type="${1:text/submit/hidden/button/image}" name="${2}" id="${3:$2}" value="${4}" />
2012-08-16 23:41:25 -04:00
snippet input.
2016-07-03 07:53:59 -04:00
<input class="${1}" type="${2:text/submit/hidden/button/image}" name="${3}" id="${4:$3}" value="${5}" />
2012-08-16 23:41:25 -04:00
snippet input:text
2016-07-03 07:53:59 -04:00
<input type="text" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:submit
2016-07-03 07:53:59 -04:00
<input type="submit" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:hidden
2016-07-03 07:53:59 -04:00
<input type="hidden" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:button
2016-07-03 07:53:59 -04:00
<input type="button" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:image
2016-07-03 07:53:59 -04:00
<input type="image" name="${1}" id="${2:$1}" src="${3}" alt="${4}" />
2012-08-16 23:41:25 -04:00
snippet input:checkbox
2016-07-03 07:53:59 -04:00
<input type="checkbox" name="${1}" id="${2:$1}" />
2012-08-16 23:41:25 -04:00
snippet input:radio
2016-07-03 07:53:59 -04:00
<input type="radio" name="${1}" id="${2:$1}" />
2012-08-16 23:41:25 -04:00
snippet input:color
2016-07-03 07:53:59 -04:00
<input type="color" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:date
2016-07-03 07:53:59 -04:00
<input type="date" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:datetime
2016-07-03 07:53:59 -04:00
<input type="datetime" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:datetime-local
2016-07-03 07:53:59 -04:00
<input type="datetime-local" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:email
2016-07-03 07:53:59 -04:00
<input type="email" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:file
2016-07-03 07:53:59 -04:00
<input type="file" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:month
2016-07-03 07:53:59 -04:00
<input type="month" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:number
2016-07-03 07:53:59 -04:00
<input type="number" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:password
2016-07-03 07:53:59 -04:00
<input type="password" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:range
2016-07-03 07:53:59 -04:00
<input type="range" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:reset
2016-07-03 07:53:59 -04:00
<input type="reset" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:search
2016-07-03 07:53:59 -04:00
<input type="search" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:time
2016-07-03 07:53:59 -04:00
<input type="time" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:url
2016-07-03 07:53:59 -04:00
<input type="url" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet input:week
2016-07-03 07:53:59 -04:00
<input type="week" name="${1}" id="${2:$1}" value="${3}" />
2012-08-16 23:41:25 -04:00
snippet ins
<ins>${0}</ins>
2012-08-16 23:41:25 -04:00
snippet kbd
<kbd>${0}</kbd>
2012-08-16 23:41:25 -04:00
snippet label
<label for="${0:$1}">${1}</label>
2012-08-16 23:41:25 -04:00
snippet label:i
<label for="${2:$1}">${1}</label>
<input type="${3:text/submit/hidden/button}" name="${4:$2}" id="${5:$2}" value="${6}" />
2012-08-16 23:41:25 -04:00
snippet label:s
<label for="${2:$1}">${1}</label>
<select name="${3:$2}" id="${4:$2}">
<option value="${5}">${0:$5}</option>
2012-08-16 23:41:25 -04:00
</select>
snippet legend
<legend>${0}</legend>
2012-08-16 23:41:25 -04:00
snippet legend+
<legend><span>${0}</span></legend>
2012-08-16 23:41:25 -04:00
snippet li
<li>${0}</li>
2012-08-16 23:41:25 -04:00
snippet li.
<li class="${1}">${0}</li>
2012-08-16 23:41:25 -04:00
snippet li+
<li>${1}</li>
li+
2012-08-16 23:41:25 -04:00
snippet lia
<li><a href="${0:#}">${1}</a></li>
2012-08-16 23:41:25 -04:00
snippet lia+
<li><a href="${2:#}">${1}</a></li>
lia+
2012-08-16 23:41:25 -04:00
snippet link
2016-07-03 07:53:59 -04:00
<link rel="${1}" href="${2}" title="${3}" type="${4}" />
2012-08-16 23:41:25 -04:00
snippet link:atom
2016-07-03 07:53:59 -04:00
<link rel="alternate" href="${1:atom.xml}" title="Atom" type="application/atom+xml" />
2014-09-27 11:32:18 -04:00
snippet link:s
2016-07-03 07:53:59 -04:00
<link rel="stylesheet" href="${1:style.css}" />
2012-08-16 23:41:25 -04:00
snippet link:css
2016-07-03 07:53:59 -04:00
<link rel="stylesheet" href="${1:style.css}" type="text/css" media="${2:all}" />
2012-08-16 23:41:25 -04:00
snippet link:favicon
2016-07-03 07:53:59 -04:00
<link rel="shortcut icon" href="${1:favicon.ico}" type="image/x-icon" />
2012-08-16 23:41:25 -04:00
snippet link:rss
2016-07-03 07:53:59 -04:00
<link rel="alternate" href="${1:rss.xml}" title="RSS" type="application/atom+xml" />
2012-08-16 23:41:25 -04:00
snippet link:touch
2016-07-03 07:53:59 -04:00
<link rel="apple-touch-icon" href="${1:favicon.png}" />
2015-03-14 16:02:10 -04:00
snippet main
<main role="main">
${0}
</main>
2012-08-16 23:41:25 -04:00
snippet map
<map name="${1}">
${0}
2012-08-16 23:41:25 -04:00
</map>
snippet map.
<map class="${1}" name="${2}">
${0}
2012-08-16 23:41:25 -04:00
</map>
snippet map#
<map name="${1}" id="${2:$1}>
${0}
2012-08-16 23:41:25 -04:00
</map>
snippet map+
<map name="${1}">
2016-07-03 07:53:59 -04:00
<area shape="${2}" coords="${3}" href="${4}" alt="${5}" />${6}
</map>
2012-08-16 23:41:25 -04:00
snippet mark
<mark>${0}</mark>
2012-08-16 23:41:25 -04:00
snippet menu
<menu>
${0}
2012-08-16 23:41:25 -04:00
</menu>
snippet menu:c
<menu type="context">
${0}
2012-08-16 23:41:25 -04:00
</menu>
snippet menu:t
<menu type="toolbar">
${0}
2012-08-16 23:41:25 -04:00
</menu>
snippet meta
2016-07-03 07:53:59 -04:00
<meta http-equiv="${1}" content="${2}" />
2014-09-27 11:32:18 -04:00
snippet meta:s
2016-07-03 07:53:59 -04:00
<meta ${0} />
2014-09-27 11:32:18 -04:00
snippet meta:d
2016-07-03 07:53:59 -04:00
<meta name="description" content="${0}" />
2012-08-16 23:41:25 -04:00
snippet meta:compat
2016-07-03 07:53:59 -04:00
<meta http-equiv="X-UA-Compatible" content="IE=${1:7,8,edge}" />
2012-08-16 23:41:25 -04:00
snippet meta:refresh
2016-07-03 07:53:59 -04:00
<meta http-equiv="refresh" content="text/html;charset=UTF-8" />
2012-08-16 23:41:25 -04:00
snippet meta:utf
2016-07-03 07:53:59 -04:00
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
2012-08-16 23:41:25 -04:00
snippet meter
<meter>${0}</meter>
2012-08-16 23:41:25 -04:00
snippet nav
<nav>
${0}
2012-08-16 23:41:25 -04:00
</nav>
snippet nav.
<nav class="${1}">
${0}
2012-08-16 23:41:25 -04:00
</nav>
snippet nav#
<nav id="${1}">
${0}
2012-08-16 23:41:25 -04:00
</nav>
snippet noscript
<noscript>
${0}
2012-08-16 23:41:25 -04:00
</noscript>
snippet object
<object data="${1}" type="${2}">
${3}
</object>
2012-08-16 23:41:25 -04:00
# Embed QT Movie
snippet movie
<object width="$2" height="$3" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
2014-09-27 11:32:18 -04:00
codebase="http://www.apple.com/qtactivex/qtplugin.cab">
2012-08-16 23:41:25 -04:00
<param name="src" value="$1" />
2016-07-03 07:53:59 -04:00
<param name="controller" value="$4" />
<param name="autoplay" value="$5" />
2012-08-16 23:41:25 -04:00
<embed src="${1:movie.mov}"
width="${2:320}" height="${3:240}"
controller="${4:true}" autoplay="${5:true}"
scale="tofit" cache="true"
2016-07-03 07:53:59 -04:00
pluginspage="http://www.apple.com/quicktime/download/" />
</object>
2012-08-16 23:41:25 -04:00
snippet ol
<ol>
${0}
2012-08-16 23:41:25 -04:00
</ol>
snippet ol.
2014-10-31 17:30:24 -04:00
<ol class="${1}">
${0}
2012-08-16 23:41:25 -04:00
</ol>
snippet ol#
2014-10-31 17:30:24 -04:00
<ol id="${1}">
${0}
2012-08-16 23:41:25 -04:00
</ol>
snippet ol+
<ol>
<li>${1}</li>
li+${0}
2012-08-16 23:41:25 -04:00
</ol>
snippet opt
<option value="${1}">${0:$1}</option>
2012-08-16 23:41:25 -04:00
snippet opt+
<option value="${1}">${2:$1}</option>
opt+${0}
2012-08-16 23:41:25 -04:00
snippet optt
<option>${0}</option>
2012-08-16 23:41:25 -04:00
snippet optgroup
<optgroup>
<option value="${1}">${2:$1}</option>
opt+${0}
2012-08-16 23:41:25 -04:00
</optgroup>
snippet output
<output>${0}</output>
2012-08-16 23:41:25 -04:00
snippet p
<p>${0}</p>
2015-01-18 07:58:28 -05:00
snippet p.
<p class="${1}">${0}</p>
snippet p#
<p id="${1}">${0}</p>
2012-08-16 23:41:25 -04:00
snippet param
2016-07-03 07:53:59 -04:00
<param name="${1}" value="${2}" />
2012-08-16 23:41:25 -04:00
snippet pre
<pre>
${0}
2012-08-16 23:41:25 -04:00
</pre>
snippet progress
<progress>${0}</progress>
2012-08-16 23:41:25 -04:00
snippet q
<q>${0}</q>
2012-08-16 23:41:25 -04:00
snippet rp
<rp>${0}</rp>
2012-08-16 23:41:25 -04:00
snippet rt
<rt>${0}</rt>
2012-08-16 23:41:25 -04:00
snippet ruby
<ruby>
<rp><rt>${0}</rt></rp>
2012-08-16 23:41:25 -04:00
</ruby>
snippet s
<s>${0}</s>
2012-08-16 23:41:25 -04:00
snippet samp
<samp>
${0}
2012-08-16 23:41:25 -04:00
</samp>
snippet script
<script type="text/javascript" charset="utf-8">
${0}
2012-08-16 23:41:25 -04:00
</script>
2014-09-27 11:32:18 -04:00
snippet scripts
<script src="${0}.js"></script>
snippet scriptt
<script type="${1}" id="${2}">
${0}
</script>
2012-08-16 23:41:25 -04:00
snippet scriptsrc
<script src="${0}.js" type="text/javascript" charset="utf-8"></script>
2012-08-16 23:41:25 -04:00
snippet section
<section>
${0}
2012-08-16 23:41:25 -04:00
</section>
snippet section.
<section class="${1}">
${0}
2012-08-16 23:41:25 -04:00
</section>
snippet section#
<section id="${1}">
${0}
2012-08-16 23:41:25 -04:00
</section>
snippet select
<select name="${1}" id="${2:$1}">
${0}
2012-08-16 23:41:25 -04:00
</select>
snippet select.
<select name="${1}" id="${2:$1}" class="${3}>
${0}
2012-08-16 23:41:25 -04:00
</select>
snippet select+
<select name="${1}" id="${2:$1}">
<option value="${3}">${4:$3}</option>
opt+${0}
2012-08-16 23:41:25 -04:00
</select>
snippet small
<small>${0}</small>
2012-08-16 23:41:25 -04:00
snippet source
2016-07-03 07:53:59 -04:00
<source src="${1}" type="${2}" media="${0}" />
2012-08-16 23:41:25 -04:00
snippet span
<span>${0}</span>
2013-07-17 19:06:05 -04:00
snippet span.
<span class="${1}">${0}</span>
2013-07-17 19:06:05 -04:00
snippet span#
<span id="${1}">${0}</span>
2012-08-16 23:41:25 -04:00
snippet strong
<strong>${0}</strong>
2012-08-16 23:41:25 -04:00
snippet style
<style type="text/css" media="${1:all}">
${0}
2012-08-16 23:41:25 -04:00
</style>
snippet sub
<sub>${0}</sub>
2012-08-16 23:41:25 -04:00
snippet summary
<summary>
${0}
2012-08-16 23:41:25 -04:00
</summary>
snippet sup
<sup>${0}</sup>
2012-08-16 23:41:25 -04:00
snippet table
<table>
${0}
2012-08-16 23:41:25 -04:00
</table>
snippet table.
<table class="${1}">
${0}
2012-08-16 23:41:25 -04:00
</table>
snippet table#
<table id="${1}">
${0}
2012-08-16 23:41:25 -04:00
</table>
snippet tbody
<tbody>
${0}
2012-08-16 23:41:25 -04:00
</tbody>
snippet td
<td>${0}</td>
2012-08-16 23:41:25 -04:00
snippet td.
<td class="${1}">${0}</td>
2012-08-16 23:41:25 -04:00
snippet td#
<td id="${1}">${0}</td>
2012-08-16 23:41:25 -04:00
snippet td+
<td>${1}</td>
td+${0}
2012-08-16 23:41:25 -04:00
snippet textarea
2014-09-27 11:32:18 -04:00
<textarea name="${1}" id="${2:$1}" rows="${3:8}" cols="${4:40}">${5}</textarea>
2012-08-16 23:41:25 -04:00
snippet tfoot
<tfoot>
${0}
2012-08-16 23:41:25 -04:00
</tfoot>
snippet th
<th>${0}</th>
2012-08-16 23:41:25 -04:00
snippet th.
<th class="${1}">${0}</th>
2012-08-16 23:41:25 -04:00
snippet th#
<th id="${1}">${0}</th>
2012-08-16 23:41:25 -04:00
snippet th+
<th>${1}</th>
th+${0}
2012-08-16 23:41:25 -04:00
snippet thead
<thead>
${0}
2012-08-16 23:41:25 -04:00
</thead>
snippet time
<time datetime="${1}" pubdate="${2:$1}">${0:$1}</time>
2012-08-16 23:41:25 -04:00
snippet title
<title>${0:`substitute(vim_snippets#Filename('', 'Page Title'), '^.', '\u&', '')`}</title>
2012-08-16 23:41:25 -04:00
snippet tr
<tr>
${0}
2012-08-16 23:41:25 -04:00
</tr>
snippet tr+
<tr>
<td>${1}</td>
td+${0}
2012-08-16 23:41:25 -04:00
</tr>
snippet track
2016-07-03 07:53:59 -04:00
<track src="${1}" srclang="${2}" label="${3}" default="${4:default} />${5}
2012-08-16 23:41:25 -04:00
snippet ul
<ul>
${0}
2012-08-16 23:41:25 -04:00
</ul>
snippet ul.
<ul class="${1}">
${0}
2012-08-16 23:41:25 -04:00
</ul>
snippet ul#
<ul id="${1}">
${0}
2012-08-16 23:41:25 -04:00
</ul>
snippet ul+
<ul>
<li>${1}</li>
li+${0}
2012-08-16 23:41:25 -04:00
</ul>
snippet var
<var>${0}</var>
2012-08-16 23:41:25 -04:00
snippet video
<video src="${1} height="${2}" width="${3}" preload="${5:none}" autoplay="${6:autoplay}>${7}</video>
2012-08-16 23:41:25 -04:00
snippet wbr
2016-07-03 07:53:59 -04:00
<wbr />