html.snippets 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828
  1. # Some useful Unicode entities
  2. # Non-Breaking Space
  3. snippet nbs
  4.  
  5. # ←
  6. snippet left
  7. ←
  8. # →
  9. snippet right
  10. →
  11. # ↑
  12. snippet up
  13. ↑
  14. # ↓
  15. snippet down
  16. ↓
  17. # ↩
  18. snippet return
  19. ↩
  20. # ⇤
  21. snippet backtab
  22. ⇤
  23. # ⇥
  24. snippet tab
  25. ⇥
  26. # ⇧
  27. snippet shift
  28. ⇧
  29. # ⌃
  30. snippet ctrl
  31. ⌃
  32. # ⌅
  33. snippet enter
  34. ⌅
  35. # ⌘
  36. snippet cmd
  37. ⌘
  38. # ⌥
  39. snippet option
  40. ⌥
  41. # ⌦
  42. snippet delete
  43. ⌦
  44. # ⌫
  45. snippet backspace
  46. ⌫
  47. # ⎋
  48. snippet esc
  49. ⎋
  50. # Generic Doctype
  51. snippet doctype HTML 4.01 Strict
  52. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  53. "http://www.w3.org/TR/html4/strict.dtd">
  54. snippet doctype HTML 4.01 Transitional
  55. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  56. "http://www.w3.org/TR/html4/loose.dtd">
  57. snippet doctype HTML 5
  58. <!DOCTYPE HTML>
  59. snippet doctype XHTML 1.0 Frameset
  60. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  61. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  62. snippet doctype XHTML 1.0 Strict
  63. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  64. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  65. snippet doctype XHTML 1.0 Transitional
  66. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  67. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  68. snippet doctype XHTML 1.1
  69. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  70. "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  71. # HTML Doctype 4.01 Strict
  72. snippet docts
  73. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  74. "http://www.w3.org/TR/html4/strict.dtd">
  75. # HTML Doctype 4.01 Transitional
  76. snippet doct
  77. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  78. "http://www.w3.org/TR/html4/loose.dtd">
  79. # HTML Doctype 5
  80. snippet doct5
  81. <!DOCTYPE HTML>
  82. # XHTML Doctype 1.0 Frameset
  83. snippet docxf
  84. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
  85. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
  86. # XHTML Doctype 1.0 Strict
  87. snippet docxs
  88. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  89. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  90. # XHTML Doctype 1.0 Transitional
  91. snippet docxt
  92. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  93. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  94. # XHTML Doctype 1.1
  95. snippet docx
  96. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  97. "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  98. # Attributes
  99. snippet attr
  100. ${1:attribute}="${2:property}"
  101. snippet attr+
  102. ${1:attribute}="${2:property}" attr+${3}
  103. snippet .
  104. class="${1}"${2}
  105. snippet #
  106. id="${1}"${2}
  107. snippet alt
  108. alt="${1}"${2}
  109. snippet charset
  110. charset="${1:utf-8}"${2}
  111. snippet data
  112. data-${1}="${2:$1}"${3}
  113. snippet for
  114. for="${1}"${2}
  115. snippet height
  116. height="${1}"${2}
  117. snippet href
  118. href="${1:#}"${2}
  119. snippet lang
  120. lang="${1:en}"${2}
  121. snippet media
  122. media="${1}"${2}
  123. snippet name
  124. name="${1}"${2}
  125. snippet rel
  126. rel="${1}"${2}
  127. snippet scope
  128. scope="${1:row}"${2}
  129. snippet src
  130. src="${1}"${2}
  131. snippet title=
  132. title="${1}"${2}
  133. snippet type
  134. type="${1}"${2}
  135. snippet value
  136. value="${1}"${2}
  137. snippet width
  138. width="${1}"${2}
  139. # Elements
  140. snippet a
  141. <a href="${1:#}">${2:$1}</a>
  142. snippet a.
  143. <a class="${1}" href="${2:#}">${3:$1}</a>
  144. snippet a#
  145. <a id="${1}" href="${2:#}">${3:$1}</a>
  146. snippet a:ext
  147. <a href="http://${1:example.com}">${2:$1}</a>
  148. snippet a:mail
  149. <a href="mailto:${1:joe@example.com}?subject=${2:feedback}">${3:email me}</a>
  150. snippet abbr
  151. <abbr title="${1}">${2}</abbr>
  152. snippet address
  153. <address>
  154. ${1}
  155. </address>
  156. snippet area
  157. <area shape="${1:rect}" coords="${2}" href="${3}" alt="${4}" />
  158. snippet area+
  159. <area shape="${1:rect}" coords="${2}" href="${3}" alt="${4}" />
  160. area+${5}
  161. snippet area:c
  162. <area shape="circle" coords="${1}" href="${2}" alt="${3}" />
  163. snippet area:d
  164. <area shape="default" coords="${1}" href="${2}" alt="${3}" />
  165. snippet area:p
  166. <area shape="poly" coords="${1}" href="${2}" alt="${3}" />
  167. snippet area:r
  168. <area shape="rect" coords="${1}" href="${2}" alt="${3}" />
  169. snippet article
  170. <article>
  171. ${1}
  172. </article>
  173. snippet article.
  174. <article class="${1}">
  175. ${2}
  176. </article>
  177. snippet article#
  178. <article id="${1}">
  179. ${2}
  180. </article>
  181. snippet aside
  182. <aside>
  183. ${1}
  184. </aside>
  185. snippet aside.
  186. <aside class="${1}">
  187. ${2}
  188. </aside>
  189. snippet aside#
  190. <aside id="${1}">
  191. ${2}
  192. </aside>
  193. snippet audio
  194. <audio src="${1}>${2}</audio>
  195. snippet b
  196. <b>${1}</b>
  197. snippet base
  198. <base href="${1}" target="${2}" />
  199. snippet bdi
  200. <bdi>${1}</bdo>
  201. snippet bdo
  202. <bdo dir="${1}">${2}</bdo>
  203. snippet bdo:l
  204. <bdo dir="ltr">${1}</bdo>
  205. snippet bdo:r
  206. <bdo dir="rtl">${1}</bdo>
  207. snippet blockquote
  208. <blockquote>
  209. ${1}
  210. </blockquote>
  211. snippet body
  212. <body>
  213. ${1}
  214. </body>
  215. snippet br
  216. <br />${1}
  217. snippet button
  218. <button type="${1:submit}">${2}</button>
  219. snippet button.
  220. <button class="${1:button}" type="${2:submit}">${3}</button>
  221. snippet button#
  222. <button id="${1}" type="${2:submit}">${3}</button>
  223. snippet button:s
  224. <button type="submit">${1}</button>
  225. snippet button:r
  226. <button type="reset">${1}</button>
  227. snippet canvas
  228. <canvas>
  229. ${1}
  230. </canvas>
  231. snippet caption
  232. <caption>${1}</caption>
  233. snippet cite
  234. <cite>${1}</cite>
  235. snippet code
  236. <code>${1}</code>
  237. snippet col
  238. <col />${1}
  239. snippet col+
  240. <col />
  241. col+${1}
  242. snippet colgroup
  243. <colgroup>
  244. ${1}
  245. </colgroup>
  246. snippet colgroup+
  247. <colgroup>
  248. <col />
  249. col+${1}
  250. </colgroup>
  251. snippet command
  252. <command type="command" label="${1}" icon="${2}" />
  253. snippet command:c
  254. <command type="checkbox" label="${1}" icon="${2}" />
  255. snippet command:r
  256. <command type="radio" radiogroup="${1}" label="${2}" icon="${3}" />
  257. snippet datagrid
  258. <datagrid>
  259. ${1}
  260. </datagrid>
  261. snippet datalist
  262. <datalist>
  263. ${1}
  264. </datalist>
  265. snippet datatemplate
  266. <datatemplate>
  267. ${1}
  268. </datatemplate>
  269. snippet dd
  270. <dd>${1}</dd>
  271. snippet dd.
  272. <dd class="${1}">${2}</dd>
  273. snippet dd#
  274. <dd id="${1}">${2}</dd>
  275. snippet del
  276. <del>${1}</del>
  277. snippet details
  278. <details>${1}</details>
  279. snippet dfn
  280. <dfn>${1}</dfn>
  281. snippet dialog
  282. <dialog>
  283. ${1}
  284. </dialog>
  285. snippet div
  286. <div>
  287. ${1}
  288. </div>
  289. snippet div.
  290. <div class="${1}">
  291. ${2}
  292. </div>
  293. snippet div#
  294. <div id="${1}">
  295. ${2}
  296. </div>
  297. snippet dl
  298. <dl>
  299. ${1}
  300. </dl>
  301. snippet dl.
  302. <dl class="${1}">
  303. ${2}
  304. </dl>
  305. snippet dl#
  306. <dl id="${1}">
  307. ${2}
  308. </dl>
  309. snippet dl+
  310. <dl>
  311. <dt>${1}</dt>
  312. <dd>${2}</dd>
  313. dt+${3}
  314. </dl>
  315. snippet dt
  316. <dt>${1}</dt>
  317. snippet dt.
  318. <dt class="${1}">${2}</dt>
  319. snippet dt#
  320. <dt id="${1}">${2}</dt>
  321. snippet dt+
  322. <dt>${1}</dt>
  323. <dd>${2}</dd>
  324. dt+${3}
  325. snippet em
  326. <em>${1}</em>
  327. snippet embed
  328. <embed src=${1} type="${2} />
  329. snippet fieldset
  330. <fieldset>
  331. ${1}
  332. </fieldset>
  333. snippet fieldset.
  334. <fieldset class="${1}">
  335. ${2}
  336. </fieldset>
  337. snippet fieldset#
  338. <fieldset id="${1}">
  339. ${2}
  340. </fieldset>
  341. snippet fieldset+
  342. <fieldset>
  343. <legend><span>${1}</span></legend>
  344. ${2}
  345. </fieldset>
  346. fieldset+${3}
  347. snippet figcaption
  348. <figcaption>${1}</figcaption>
  349. snippet figure
  350. <figure>${1}</figure>
  351. snippet footer
  352. <footer>
  353. ${1}
  354. </footer>
  355. snippet footer.
  356. <footer class="${1}">
  357. ${2}
  358. </footer>
  359. snippet footer#
  360. <footer id="${1}">
  361. ${2}
  362. </footer>
  363. snippet form
  364. <form action="${1}" method="${2:get}" accept-charset="utf-8">
  365. ${3}
  366. </form>
  367. snippet form.
  368. <form class="${1}" action="${2}" method="${3:get}" accept-charset="utf-8">
  369. ${4}
  370. </form>
  371. snippet form#
  372. <form id="${1}" action="${2}" method="${3:get}" accept-charset="utf-8">
  373. ${4}
  374. </form>
  375. snippet h1
  376. <h1>${1}</h1>
  377. snippet h1.
  378. <h1 class="${1}">${2}</h1>
  379. snippet h1#
  380. <h1 id="${1}">${2}</h1>
  381. snippet h2
  382. <h2>${1}</h2>
  383. snippet h2.
  384. <h2 class="${1}">${2}</h2>
  385. snippet h2#
  386. <h2 id="${1}">${2}</h2>
  387. snippet h3
  388. <h3>${1}</h3>
  389. snippet h3.
  390. <h3 class="${1}">${2}</h3>
  391. snippet h3#
  392. <h3 id="${1}">${2}</h3>
  393. snippet h4
  394. <h4>${1}</h4>
  395. snippet h4.
  396. <h4 class="${1}">${2}</h4>
  397. snippet h4#
  398. <h4 id="${1}">${2}</h4>
  399. snippet h5
  400. <h5>${1}</h5>
  401. snippet h5.
  402. <h5 class="${1}">${2}</h5>
  403. snippet h5#
  404. <h5 id="${1}">${2}</h5>
  405. snippet h6
  406. <h6>${1}</h6>
  407. snippet h6.
  408. <h6 class="${1}">${2}</h6>
  409. snippet h6#
  410. <h6 id="${1}">${2}</h6>
  411. snippet head
  412. <head>
  413. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  414. <title>${1:`substitute(Filename('', 'Page Title'), '^.', '\u&', '')`}</title>
  415. ${2}
  416. </head>
  417. snippet header
  418. <header>
  419. ${1}
  420. </header>
  421. snippet header.
  422. <header class="${1}">
  423. ${2}
  424. </header>
  425. snippet header#
  426. <header id="${1}">
  427. ${2}
  428. </header>
  429. snippet hgroup
  430. <hgroup>
  431. ${1}
  432. </hgroup>
  433. snippet hgroup.
  434. <hgroup class="${1}>
  435. ${2}
  436. </hgroup>
  437. snippet hr
  438. <hr />${1}
  439. snippet html
  440. <html>
  441. ${1}
  442. </html>
  443. snippet xhtml
  444. <html xmlns="http://www.w3.org/1999/xhtml">
  445. ${1}
  446. </html>
  447. snippet html5
  448. <!DOCTYPE html>
  449. <html>
  450. <head>
  451. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  452. <title>${1:`substitute(Filename('', 'Page Title'), '^.', '\u&', '')`}</title>
  453. ${2:meta}
  454. </head>
  455. <body>
  456. ${3:body}
  457. </body>
  458. </html>
  459. snippet i
  460. <i>${1}</i>
  461. snippet iframe
  462. <iframe src="${1}" frameborder="0"></iframe>${2}
  463. snippet iframe.
  464. <iframe class="${1}" src="${2}" frameborder="0"></iframe>${3}
  465. snippet iframe#
  466. <iframe id="${1}" src="${2}" frameborder="0"></iframe>${3}
  467. snippet img
  468. <img src="${1}" alt="${2}" />${3}
  469. snippet img.
  470. <img class="${1}" src="${2}" alt="${3}" />${4}
  471. snippet img#
  472. <img id="${1}" src="${2}" alt="${3}" />${4}
  473. snippet input
  474. <input type="${1:text/submit/hidden/button/image}" name="${2}" id="${3:$2}" value="${4}" />${5}
  475. snippet input.
  476. <input class="${1}" type="${2:text/submit/hidden/button/image}" name="${3}" id="${4:$3}" value="${5}" />${6}
  477. snippet input:text
  478. <input type="text" name="${1}" id="${2:$1}" value="${3}" />${4}
  479. snippet input:submit
  480. <input type="submit" name="${1}" id="${2:$1}" value="${3}" />${4}
  481. snippet input:hidden
  482. <input type="hidden" name="${1}" id="${2:$1}" value="${3}" />${4}
  483. snippet input:button
  484. <input type="button" name="${1}" id="${2:$1}" value="${3}" />${4}
  485. snippet input:image
  486. <input type="image" name="${1}" id="${2:$1}" src="${3}" alt="${4}" />${5}
  487. snippet input:checkbox
  488. <input type="checkbox" name="${1}" id="${2:$1}" />${3}
  489. snippet input:radio
  490. <input type="radio" name="${1}" id="${2:$1}" />${3}
  491. snippet input:color
  492. <input type="color" name="${1}" id="${2:$1}" value="${3}" />${4}
  493. snippet input:date
  494. <input type="date" name="${1}" id="${2:$1}" value="${3}" />${4}
  495. snippet input:datetime
  496. <input type="datetime" name="${1}" id="${2:$1}" value="${3}" />${4}
  497. snippet input:datetime-local
  498. <input type="datetime-local" name="${1}" id="${2:$1}" value="${3}" />${4}
  499. snippet input:email
  500. <input type="email" name="${1}" id="${2:$1}" value="${3}" />${4}
  501. snippet input:file
  502. <input type="file" name="${1}" id="${2:$1}" value="${3}" />${4}
  503. snippet input:month
  504. <input type="month" name="${1}" id="${2:$1}" value="${3}" />${4}
  505. snippet input:number
  506. <input type="number" name="${1}" id="${2:$1}" value="${3}" />${4}
  507. snippet input:password
  508. <input type="password" name="${1}" id="${2:$1}" value="${3}" />${4}
  509. snippet input:range
  510. <input type="range" name="${1}" id="${2:$1}" value="${3}" />${4}
  511. snippet input:reset
  512. <input type="reset" name="${1}" id="${2:$1}" value="${3}" />${4}
  513. snippet input:search
  514. <input type="search" name="${1}" id="${2:$1}" value="${3}" />${4}
  515. snippet input:time
  516. <input type="time" name="${1}" id="${2:$1}" value="${3}" />${4}
  517. snippet input:url
  518. <input type="url" name="${1}" id="${2:$1}" value="${3}" />${4}
  519. snippet input:week
  520. <input type="week" name="${1}" id="${2:$1}" value="${3}" />${4}
  521. snippet ins
  522. <ins>${1}</ins>
  523. snippet kbd
  524. <kbd>${1}</kbd>
  525. snippet keygen
  526. <keygen>${1}</keygen>
  527. snippet label
  528. <label for="${2:$1}">${1}</label>
  529. snippet label:i
  530. <label for="${2:$1}">${1}</label>
  531. <input type="${3:text/submit/hidden/button}" name="${4:$2}" id="${5:$2}" value="${6}" />${7}
  532. snippet label:s
  533. <label for="${2:$1}">${1}</label>
  534. <select name="${3:$2}" id="${4:$2}">
  535. <option value="${5}">${6:$5}</option>
  536. </select>
  537. snippet legend
  538. <legend>${1}</legend>
  539. snippet legend+
  540. <legend><span>${1}</span></legend>
  541. snippet li
  542. <li>${1}</li>
  543. snippet li.
  544. <li class="${1}">${2}</li>
  545. snippet li+
  546. <li>${1}</li>
  547. li+${2}
  548. snippet lia
  549. <li><a href="${2:#}">${1}</a></li>
  550. snippet lia+
  551. <li><a href="${2:#}">${1}</a></li>
  552. lia+${3}
  553. snippet link
  554. <link rel="${1}" href="${2}" title="${3}" type="${4}" />${5}
  555. snippet link:atom
  556. <link rel="alternate" href="${1:atom.xml}" title="Atom" type="application/atom+xml" />${2}
  557. snippet link:css
  558. <link rel="stylesheet" href="${2:style.css}" type="text/css" media="${3:all}" />${4}
  559. snippet link:favicon
  560. <link rel="shortcut icon" href="${1:favicon.ico}" type="image/x-icon" />${2}
  561. snippet link:rss
  562. <link rel="alternate" href="${1:rss.xml}" title="RSS" type="application/atom+xml" />${2}
  563. snippet link:touch
  564. <link rel="apple-touch-icon" href="${1:favicon.png}" />${2}
  565. snippet map
  566. <map name="${1}">
  567. ${2}
  568. </map>
  569. snippet map.
  570. <map class="${1}" name="${2}">
  571. ${3}
  572. </map>
  573. snippet map#
  574. <map name="${1}" id="${2:$1}>
  575. ${3}
  576. </map>
  577. snippet map+
  578. <map name="${1}">
  579. <area shape="${2}" coords="${3}" href="${4}" alt="${5}" />${6}
  580. </map>${7}
  581. snippet mark
  582. <mark>${1}</mark>
  583. snippet menu
  584. <menu>
  585. ${1}
  586. </menu>
  587. snippet menu:c
  588. <menu type="context">
  589. ${1}
  590. </menu>
  591. snippet menu:t
  592. <menu type="toolbar">
  593. ${1}
  594. </menu>
  595. snippet meta
  596. <meta http-equiv="${1}" content="${2}" />${3}
  597. snippet meta:compat
  598. <meta http-equiv="X-UA-Compatible" content="IE=${1:7,8,edge}" />${3}
  599. snippet meta:refresh
  600. <meta http-equiv="refresh" content="text/html;charset=UTF-8" />${3}
  601. snippet meta:utf
  602. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />${3}
  603. snippet meter
  604. <meter>${1}</meter>
  605. snippet nav
  606. <nav>
  607. ${1}
  608. </nav>
  609. snippet nav.
  610. <nav class="${1}">
  611. ${2}
  612. </nav>
  613. snippet nav#
  614. <nav id="${1}">
  615. ${2}
  616. </nav>
  617. snippet noscript
  618. <noscript>
  619. ${1}
  620. </noscript>
  621. snippet object
  622. <object data="${1}" type="${2}">
  623. ${3}
  624. </object>${4}
  625. # Embed QT Movie
  626. snippet movie
  627. <object width="$2" height="$3" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
  628. codebase="http://www.apple.com/qtactivex/qtplugin.cab">
  629. <param name="src" value="$1" />
  630. <param name="controller" value="$4" />
  631. <param name="autoplay" value="$5" />
  632. <embed src="${1:movie.mov}"
  633. width="${2:320}" height="${3:240}"
  634. controller="${4:true}" autoplay="${5:true}"
  635. scale="tofit" cache="true"
  636. pluginspage="http://www.apple.com/quicktime/download/" />
  637. </object>${6}
  638. snippet ol
  639. <ol>
  640. ${1}
  641. </ol>
  642. snippet ol.
  643. <ol class="${1}>
  644. ${2}
  645. </ol>
  646. snippet ol#
  647. <ol id="${1}>
  648. ${2}
  649. </ol>
  650. snippet ol+
  651. <ol>
  652. <li>${1}</li>
  653. li+${2}
  654. </ol>
  655. snippet opt
  656. <option value="${1}">${2:$1}</option>
  657. snippet opt+
  658. <option value="${1}">${2:$1}</option>
  659. opt+${3}
  660. snippet optt
  661. <option>${1}</option>
  662. snippet optgroup
  663. <optgroup>
  664. <option value="${1}">${2:$1}</option>
  665. opt+${3}
  666. </optgroup>
  667. snippet output
  668. <output>${1}</output>
  669. snippet p
  670. <p>${1}</p>
  671. snippet param
  672. <param name="${1}" value="${2}" />${3}
  673. snippet pre
  674. <pre>
  675. ${1}
  676. </pre>
  677. snippet progress
  678. <progress>${1}</progress>
  679. snippet q
  680. <q>${1}</q>
  681. snippet rp
  682. <rp>${1}</rp>
  683. snippet rt
  684. <rt>${1}</rt>
  685. snippet ruby
  686. <ruby>
  687. <rp><rt>${1}</rt></rp>
  688. </ruby>
  689. snippet s
  690. <s>${1}</s>
  691. snippet samp
  692. <samp>
  693. ${1}
  694. </samp>
  695. snippet script
  696. <script type="text/javascript" charset="utf-8">
  697. ${1}
  698. </script>
  699. snippet scriptsrc
  700. <script src="${1}.js" type="text/javascript" charset="utf-8"></script>
  701. snippet section
  702. <section>
  703. ${1}
  704. </section>
  705. snippet section.
  706. <section class="${1}">
  707. ${2}
  708. </section>
  709. snippet section#
  710. <section id="${1}">
  711. ${2}
  712. </section>
  713. snippet select
  714. <select name="${1}" id="${2:$1}">
  715. ${3}
  716. </select>
  717. snippet select.
  718. <select name="${1}" id="${2:$1}" class="${3}>
  719. ${4}
  720. </select>
  721. snippet select+
  722. <select name="${1}" id="${2:$1}">
  723. <option value="${3}">${4:$3}</option>
  724. opt+${5}
  725. </select>
  726. snippet small
  727. <small>${1}</small>
  728. snippet source
  729. <source src="${1}" type="${2}" media="${3}" />
  730. snippet span
  731. <span>${1}</span>
  732. snippet strong
  733. <strong>${1}</strong>
  734. snippet style
  735. <style type="text/css" media="${1:all}">
  736. ${2}
  737. </style>
  738. snippet sub
  739. <sub>${1}</sub>
  740. snippet summary
  741. <summary>
  742. ${1}
  743. </summary>
  744. snippet sup
  745. <sup>${1}</sup>
  746. snippet table
  747. <table border="${1:0}">
  748. ${2}
  749. </table>
  750. snippet table.
  751. <table class="${1}" border="${2:0}">
  752. ${3}
  753. </table>
  754. snippet table#
  755. <table id="${1}" border="${2:0}">
  756. ${3}
  757. </table>
  758. snippet tbody
  759. <tbody>
  760. ${1}
  761. </tbody>
  762. snippet td
  763. <td>${1}</td>
  764. snippet td.
  765. <td class="${1}">${2}</td>
  766. snippet td#
  767. <td id="${1}">${2}</td>
  768. snippet td+
  769. <td>${1}</td>
  770. td+${2}
  771. snippet textarea
  772. <textarea name="${1}" id=${2:$1} rows="${3:8}" cols="${4:40}">${5}</textarea>${6}
  773. snippet tfoot
  774. <tfoot>
  775. ${1}
  776. </tfoot>
  777. snippet th
  778. <th>${1}</th>
  779. snippet th.
  780. <th class="${1}">${2}</th>
  781. snippet th#
  782. <th id="${1}">${2}</th>
  783. snippet th+
  784. <th>${1}</th>
  785. th+${2}
  786. snippet thead
  787. <thead>
  788. ${1}
  789. </thead>
  790. snippet time
  791. <time datetime="${1}" pubdate="${2:$1}>${3:$1}</time>
  792. snippet title
  793. <title>${1:`substitute(Filename('', 'Page Title'), '^.', '\u&', '')`}</title>
  794. snippet tr
  795. <tr>
  796. ${1}
  797. </tr>
  798. snippet tr+
  799. <tr>
  800. <td>${1}</td>
  801. td+${2}
  802. </tr>
  803. snippet track
  804. <track src="${1}" srclang="${2}" label="${3}" default="${4:default}>${5}</track>${6}
  805. snippet ul
  806. <ul>
  807. ${1}
  808. </ul>
  809. snippet ul.
  810. <ul class="${1}">
  811. ${2}
  812. </ul>
  813. snippet ul#
  814. <ul id="${1}">
  815. ${2}
  816. </ul>
  817. snippet ul+
  818. <ul>
  819. <li>${1}</li>
  820. li+${2}
  821. </ul>
  822. snippet var
  823. <var>${1}</var>
  824. snippet video
  825. <video src="${1} height="${2}" width="${3}" preload="${5:none}" autoplay="${6:autoplay}>${7}</video>${8}
  826. snippet wbr
  827. <wbr />${1}