" Latest Revision: 2009-04-09 if !exists('loaded_snippet') || &cp finish endif " {{{ vim functions let st = g:snip_start_tag let et = g:snip_end_tag let cd = g:snip_elem_delim function! SelectDoctype() let st = g:snip_start_tag let et = g:snip_end_tag let cd = g:snip_elem_delim let dt = inputlist(['Select doctype:', \ '1. HTML 4.01', \ '2. HTML 4.01 Transitional', \ '3. HTML 4.01 Frameset', \ '4. XHTML 1.0 Frameset', \ '5. XHTML Strict', \ '6. XHTML Transitional', \ '7. XHTML Frameset']) let dts = {1: "\n".st.et, \ 2: "\n".st.et, \ 3: "\n".st.et, \ 4: "\n".st.et, \ 5: "\n".st.et, \ 6: "\n".st.et, \ 7: "\n".st.et} return dts[dt] endfunction " }}} " {{{ Document type exec "Snippet doct ``SelectDoctype()``" exec "Snippet doctype \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">".st.et exec "Snippet doc4s \"http://www.w3.org/TR/html4/strict.dtd\">".st.et exec "Snippet doc4t \"http://www.w3.org/TR/html4/loose.dtd\">".st.et exec "Snippet doc4f \"http://www.w3.org/TR/html4/frameset.dtd\">".st.et exec "Snippet docxs \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">".st.et exec "Snippet docxt \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">".st.et exec "Snippet docxf \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">".st.et " }}} " {{{ Top-level Elements " HTML document exec "Snippet html ".st.et."" exec "Snippet xhtml \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">".st.et."" " Document head exec "Snippet head ".st.et."".st.et."".st.et " Document body exec "Snippet body ".st.et."" exec "Snippet bodyid ".st.et."" exec "Snippet bodycls ".st.et."" exec "Snippet bodyclass ".st.et."" " }}} " {{{ Head Elements " Document base URI exec "Snippet base ".st.et " Document relationship exec "Snippet link ".st.et exec "Snippet linkcss ".st.et " Metadata exec "Snippet meta ".st.et " Client-side script exec "Snippet javascript ".st.et exec "Snippet script ".st.et " exec "Snippet script ".st.et exec "Snippet scriptsrc ".st.et " Embedded stype sheet exec "Snippet css ".st.et exec "Snippet style ".st.et " Document title exec "Snippet title ".st.et."" " }}} " {{{ Generic Block-level Elements " Address exec "Snippet address
".st.et."
".st.et " Block quotation exec "Snippet block
".st.et."
".st.et exec "Snippet blockid
".st.et."
".st.et exec "Snippet blockcls
".st.et."
".st.et exec "Snippet blockclass
".st.et."
".st.et exec "Snippet blockquote
".st.et."
".st.et exec "Snippet blockquoteid
".st.et."
".st.et exec "Snippet blockquotecls
".st.et."
".st.et exec "Snippet blockquoteclass
".st.et."
".st.et " Deleted text exec "Snippet del ".st.et."".st.et " Generic block-level container exec "Snippet div
".st.et."
".st.et exec "Snippet divid
".st.et."
".st.et exec "Snippet divcls
".st.et."
".st.et exec "Snippet divclass
".st.et."
".st.et " Heading exec "Snippet h1

".st.et."

".st.et exec "Snippet h1id

".st.et."

".st.et exec "Snippet h1cls

".st.et."

".st.et exec "Snippet h1class

".st.et."

".st.et exec "Snippet h2

".st.et."

".st.et exec "Snippet h2id

".st.et."

".st.et exec "Snippet h2cls

".st.et."

".st.et exec "Snippet h2class

".st.et."

".st.et exec "Snippet h3

".st.et."

".st.et exec "Snippet h3id

".st.et."

".st.et exec "Snippet h3cls

".st.et."

".st.et exec "Snippet h3class

".st.et."

".st.et exec "Snippet h4

".st.et."

".st.et exec "Snippet h4id

".st.et."

".st.et exec "Snippet h4cls

".st.et."

".st.et exec "Snippet h4class

".st.et."

".st.et exec "Snippet h5
".st.et."
".st.et exec "Snippet h5id
".st.et."
".st.et exec "Snippet h5cls
".st.et."
".st.et exec "Snippet h5class
".st.et."
".st.et exec "Snippet h6
".st.et."
".st.et exec "Snippet h6id
".st.et."
".st.et exec "Snippet h6cls
".st.et."
".st.et exec "Snippet h6class
".st.et."
".st.et " Horizonatal rule exec "Snippet hr
".st.et exec "Snippet hrid
".st.et exec "Snippet hrcls
".st.et exec "Snippet hrclass
".st.et " Inserted text exec "Snippet ins ".st.et."".st.et " Alternate script content exec "Snippet noscript ".st.et " Paragraph exec "Snippet para

".st.et."

".st.et exec "Snippet paraid

".st.et."

".st.et exec "Snippet paracls

".st.et."

".st.et exec "Snippet paraclass

".st.et."

".st.et " Preformatted text exec "Snippet pre
".st.et."
".st.et exec "Snippet preformat
".st.et."
".st.et " }}} " {{{ Lists " List item exec "Snippet li
  • ".st.et."
  • ".st.et exec "Snippet liid
  • ".st.et."
  • ".st.et exec "Snippet licls
  • ".st.et."
  • ".st.et exec "Snippet liclass
  • ".st.et."
  • ".st.et " Unordered list exec "Snippet ul
      ".st.et."
    ".st.et exec "Snippet ulid
      ".st.et."
    ".st.et exec "Snippet ulcls
      ".st.et."
    ".st.et exec "Snippet ulclass
      ".st.et."
    ".st.et " Ordered list exec "Snippet ol
      ".st.et."
    ".st.et exec "Snippet olid
      ".st.et."
    ".st.et exec "Snippet olcls
      ".st.et."
    ".st.et exec "Snippet olclass
      ".st.et."
    ".st.et " }}} " {{{ Tables " Table exec "Snippet table ".st.et."
    ".st.et exec "Snippet tableid ".st.et."
    ".st.et exec "Snippet tablecls ".st.et."
    ".st.et exec "Snippet tableclass ".st.et."
    ".st.et " Table caption exec "Snippet caption ".st.et."".st.et " Table Column group exec "Snippet colgroup ".st.et " Table column exec "Snippet col ".st.et " Table head exec "Snippet thead ".st.et."".st.et " Table foot exec "Snippet tfoot ".st.et."".st.et " Table body exec "Snippet tbody ".st.et."".st.et " Table row exec "Snippet tr ".st.et."".st.et exec "Snippet trid ".st.et."".st.et exec "Snippet trcls ".st.et."".st.et exec "Snippet trclass ".st.et."".st.et " Table header cell exec "Snippet th ".st.et."".st.et exec "Snippet thid ".st.et."".st.et exec "Snippet thcls ".st.et."".st.et exec "Snippet thclass ".st.et."".st.et " Table data cell exec "Snippet td ".st.et."".st.et exec "Snippet tdid ".st.et."".st.et exec "Snippet tdcls ".st.et."".st.et exec "Snippet tdclass ".st.et."".st.et " }}} " {{{ Forms " Interactive form exec "Snippet form
    ".st.et."".st.et " exec "Snippet form
    ".st.et."

    ".st.et " Button exec "Snippet button ".st.et " Form input exec "Snippet input ".st.et exec "Snippet text ".st.et exec "Snippet radio ".st.et exec "Snippet checkbox ".st.et exec "Snippet submit ".st.et exec "Snippet reset ".st.et " Form field label exec "Snippet label ".st.et " Option selector exec "Snippet select ".st.et " Menu option exec "Snippet option ".st.et " Multi-line text input exec "Snippet textarea ".st.et " }}} " {{{ Special Inline Elements " Anchor exec "Snippet ahref ".st.et."".st.et exec "Snippet aname ".st.et."".st.et exec "Snippet mailto ".st.et."".st.et " Line break exec "Snippet br
    ".st.et " Font change exec "Snippet font ".st.et."".st.et " Image map exec "Snippet img \"".st.et."\"".st.et " Object exec "Snippet movie classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\"codebase=\"http://www.apple.com/qtactivex/qtplugin.cab\">value=\"".st.et."\" />width=\"".st.et."\" height=\"".st.et."\"controller=\"".st.et."\" autoplay=\"".st.et."\"scale=\"tofit\" cache=\"true\"pluginspage=\"http://www.apple.com/quicktime/download/\"/>".st.et " Subscript exec "Snippet sub ".st.et."".st.et " Superscript exec "Snippet sup ".st.et."".st.et " }}} " {{{ Phrase Elements " Computer code exec "Snippet code ".st.et."".st.et exec "Snippet codeid ".st.et."".st.et exec "Snippet codecls ".st.et."".st.et exec "Snippet codeclass ".st.et."".st.et " Emphasis exec "Snippet em ".st.et."".st.et " }}} " {{{ Font Style Elements " Bold text exec "Snippet bold ".st.et."".st.et " Large text exec "Snippet big ".st.et."".st.et " Italic text exec "Snippet italic ".st.et."".st.et " Small text exec "Snippet small ".st.et."".st.et " Strike-through text exec "Snippet strike ".st.et."".st.et " Underlined text exec "Snippet underline ".st.et."".st.et " }}} " {{{ Frames " Frameset exec "Snippet frameset ".st.et."" " Frame exec "Snippet frame ".st.et " }}} " vim: set foldmethod=marker: set fenc=utf-8: