home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / gedit-2 / plugins / snippets / html.xml < prev    next >
Encoding:
Extensible Markup Language  |  2006-08-27  |  5.7 KB  |  180 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <snippets language="HTML">
  3.   <snippet id="doctype">
  4.     <text><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  5.     "http://www.w3.org/TR/html4/strict.dtd">
  6. ]]></text>
  7.     <description>HTML ΓÇö 4.01 Strict</description>
  8.     <tag>doctype</tag>
  9.   </snippet>
  10.   <snippet id="doctype-1">
  11.     <text><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
  12.     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
  13. ]]></text>
  14.     <description>XHTML ΓÇö 1.0 Frameset</description>
  15.     <tag>doctype</tag>
  16.   </snippet>
  17.   <snippet id="doctype-2">
  18.     <text><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  19.     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  20. ]]></text>
  21.     <description>XHTML ΓÇö 1.0 Strict</description>
  22.     <tag>doctype</tag>
  23.   </snippet>
  24.   <snippet id="doctype-3">
  25.     <text><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  26.     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  27. ]]></text>
  28.     <description>XHTML ΓÇö 1.0 Transitional</description>
  29.     <tag>doctype</tag>
  30.   </snippet>
  31.   <snippet id="doctype-4">
  32.     <text><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  33.     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  34. ]]></text>
  35.     <description>XHTML ΓÇö 1.1</description>
  36.     <tag>doctype</tag>
  37.   </snippet>
  38.   <snippet id="doctype-5">
  39.     <text><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  40. ]]></text>
  41.     <description>HTML ΓÇö 4.0 Transitional</description>
  42.     <tag>doctype</tag>
  43.   </snippet>
  44.   <snippet id="ref">
  45.     <text><![CDATA[<a href="${1:http://somesite.com/}">${2:$GEDIT_SELECTED_TEXT}</a>
  46. ]]></text>
  47.     <accelerator><![CDATA[<Shift><Alt>l]]></accelerator>
  48.     <description>Wrap Selection as Link</description>
  49.     <tag>ref</tag>
  50.   </snippet>
  51.   <snippet id="open/close">
  52.     <text><![CDATA[<${1:p}>$GEDIT_SELECTED_TEXT</${1}>]]></text>
  53.     <accelerator><![CDATA[<Shift><Alt>w]]></accelerator>
  54.     <description>Wrap Selection in Open/Close Tag</description>
  55.   </snippet>
  56.   <snippet id="mailto">
  57.     <text><![CDATA[<a href="mailto:${1:joe@example.com}?subject=${2:feedback}">${3:email me}</a> $0]]></text>
  58.     <description>Mail Anchor</description>
  59.     <tag>mailto</tag>
  60.   </snippet>
  61.   <snippet id="base">
  62.     <text><![CDATA[<base href="$1" ${2}/>$0]]></text>
  63.     <description>Base</description>
  64.     <tag>base</tag>
  65.   </snippet>
  66.   <snippet id="body">
  67.     <text><![CDATA[<body id="${1:ID} " onload="$2"}>
  68.     $0
  69. </body>]]></text>
  70.     <description>Body</description>
  71.     <tag>body</tag>
  72.   </snippet>
  73.   <snippet id="br">
  74.     <text><![CDATA[<br />
  75. $0]]></text>
  76.     <accelerator><![CDATA[<Shift><Control>space]]></accelerator>
  77.     <description>Br</description>
  78.   </snippet>
  79.   <snippet id="div">
  80.     <text><![CDATA[<div ${1}>
  81.     ${0:$GEDIT_SELECTED_TEXT}
  82. </div>]]></text>
  83.     <description>Div</description>
  84.     <tag>div</tag>
  85.   </snippet>
  86.   <snippet id="form">
  87.     <text><![CDATA[<form action="${1}" method="${2:get}">
  88.     $0
  89.  
  90.     <p><input type="submit" value="${3:Continue →}" /></p>
  91. </form>]]></text>
  92.     <description>Form</description>
  93.     <tag>form</tag>
  94.   </snippet>
  95.   <snippet id="h">
  96.     <text><![CDATA[<h${1:1} id="${2}">${3:$GEDIT_SELECTED_TEXT}</h${1}>
  97. $0]]></text>
  98.     <description>Heading</description>
  99.     <tag>h</tag>
  100.   </snippet>
  101.   <snippet id="head">
  102.     <text><![CDATA[<head>
  103.     <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  104.     <title>${1:Page Title}</title>
  105.     $0
  106. </head>]]></text>
  107.     <description>Head</description>
  108.     <tag>head</tag>
  109.   </snippet>
  110.   <snippet id="input">
  111.     <text><![CDATA[<input type="${1:text/submit/hidden/button}" name="${2:some_name}" value="$3" id="${5}" />]]></text>
  112.     <description>Input</description>
  113.     <tag>input</tag>
  114.   </snippet>
  115.   <snippet id="link">
  116.     <text><![CDATA[<link rel="${1:stylesheet}" href="${2:/css/master.css}" type="text/css" media="${3:screen}" title="${4:no title}" charset="${5:utf-8}" />]]></text>
  117.     <description>Link</description>
  118.     <tag>link</tag>
  119.   </snippet>
  120.   <snippet id="meta">
  121.     <text><![CDATA[<meta name="${1:name}" content="${2:content}" />]]></text>
  122.     <description>Meta</description>
  123.     <tag>meta</tag>
  124.   </snippet>
  125.   <snippet id="nbsp">
  126.     <text><![CDATA[ ]]></text>
  127.     <accelerator><![CDATA[<Control><Alt>space]]></accelerator>
  128.     <description>Non-Breaking Space</description>
  129.   </snippet>
  130.   <snippet id="script">
  131.     <text><![CDATA[<script type="text/javascript" language="javascript" charset="utf-8">
  132. // <![CDATA[
  133.     $0
  134. // ]]]]><![CDATA[>
  135. </script>]]></text>
  136.     <description>Script</description>
  137.     <tag>script</tag>
  138.   </snippet>
  139.   <snippet id="scriptsrc">
  140.     <text><![CDATA[<script src="$1" type="text/javascript" language="${2:javascript}" charset="${3:utf-8}" />]]></text>
  141.     <description>Script With External Source</description>
  142.     <tag>scriptsrc</tag>
  143.   </snippet>
  144.   <snippet id="style">
  145.     <text><![CDATA[<style type="text/css" media="screen">
  146. /* <![CDATA[ */
  147.     $0
  148. /* ]]]]><![CDATA[> */
  149. </style>
  150. ]]></text>
  151.     <description>Style</description>
  152.     <tag>style</tag>
  153.   </snippet>
  154.   <snippet id="table">
  155.     <text><![CDATA[<table border="${1:0}" cellspacing="${2:0}" cellpadding="${3:0}">
  156.     <tr><th>${4:Header}</th></tr>
  157.     <tr><td>${5:Data}</td></tr>
  158.     $0
  159. </table>]]></text>
  160.     <description>Table</description>
  161.     <tag>table</tag>
  162.   </snippet>
  163.   <snippet id="textarea">
  164.     <text><![CDATA[<textarea name="${1:Name}" rows="${2:8}" cols="${3:40}">$0</textarea>]]></text>
  165.     <description>Text Area</description>
  166.     <tag>textarea</tag>
  167.   </snippet>
  168.   <snippet id="title">
  169.     <text><![CDATA[<title>${1:Page Title}</title>]]></text>
  170.     <description>Title</description>
  171.     <tag>title</tag>
  172.   </snippet>
  173.   <snippet id="tr">
  174.     <text><![CDATA[<tr><td>$1</td></tr>
  175. $0]]></text>
  176.     <tag>tr</tag>
  177.     <description>Table Row</description>
  178.   </snippet>
  179. </snippets>
  180.