/usr/share/gedit/plugins/snippets/html.xml is in gedit-common 3.4.1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 | <?xml version="1.0" encoding="UTF-8"?>
<snippets language="HTML">
<snippet id="doctype">
<text><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
]]></text>
<description>HTML — 4.01 Strict</description>
<tag>doctype</tag>
</snippet>
<snippet id="doctype-1">
<text><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
]]></text>
<description>XHTML — 1.0 Frameset</description>
<tag>doctype</tag>
</snippet>
<snippet id="doctype-2">
<text><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
]]></text>
<description>XHTML — 1.0 Strict</description>
<tag>doctype</tag>
</snippet>
<snippet id="doctype-3">
<text><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
]]></text>
<description>XHTML — 1.0 Transitional</description>
<tag>doctype</tag>
</snippet>
<snippet id="doctype-4">
<text><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
]]></text>
<description>XHTML — 1.1</description>
<tag>doctype</tag>
</snippet>
<snippet id="doctype-5">
<text><![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
]]></text>
<description>HTML — 4.0 Transitional</description>
<tag>doctype</tag>
</snippet>
<snippet id="author">
<text><![CDATA[<meta name="author" content="${1:author}" />
$0]]></text>
<tag>author</tag>
<description>Author</description>
</snippet>
<snippet id="date">
<text><![CDATA[<meta name="date" content="$<1: import time; return time.strftime("%Y-%m-%d") >" />
$0]]></text>
<tag>date</tag>
<description>Date</description>
</snippet>
<snippet id="ref">
<text><![CDATA[<a href="${1:http://somesite.com/}">${2:$GEDIT_SELECTED_TEXT}</a>
]]></text>
<accelerator><![CDATA[<Shift><Alt>l]]></accelerator>
<description>Wrap Selection as Link</description>
<tag>ref</tag>
</snippet>
<snippet id="open/close">
<text><![CDATA[<${1:p}>$GEDIT_SELECTED_TEXT</${1}>]]></text>
<accelerator><![CDATA[<Shift><Alt>w]]></accelerator>
<description>Wrap Selection in Open/Close Tag</description>
</snippet>
<snippet id="mailto">
<text><![CDATA[<a href="mailto:${1:joe@example.com}?subject=${2:feedback}">${3:email me}</a> $0]]></text>
<description>Mail Anchor</description>
<tag>mailto</tag>
</snippet>
<snippet id="base">
<text><![CDATA[<base href="$1" ${2}/>$0]]></text>
<description>Base</description>
<tag>base</tag>
</snippet>
<snippet id="body">
<text><![CDATA[<body id="${1:ID} " onload="$2"}>
$0
</body>]]></text>
<description>Body</description>
<tag>body</tag>
</snippet>
<snippet id="br">
<text><![CDATA[<br />
$0]]></text>
<accelerator><![CDATA[<Shift><Control>space]]></accelerator>
<description>Br</description>
</snippet>
<snippet id="button">
<text><![CDATA[<button type="button" name="${1:name}" value="${2:caption}" onclick="$3" />$4
]]></text>
<tag>button</tag>
<description>Button</description>
</snippet>
<snippet id="div">
<text><![CDATA[<div ${1}>
${0:$GEDIT_SELECTED_TEXT}
</div>]]></text>
<description>Div</description>
<tag>div</tag>
</snippet>
<snippet id="file">
<text><![CDATA[<input type="file" name="${1:name}" size="$2" accept="$3" />$0
]]></text>
<tag>file</tag>
<description>File</description>
</snippet>
<snippet id="form">
<text><![CDATA[<form action="${1}" method="${2:get}">
$0
<p><input type="submit" value="${3:Continue →}" /></p>
</form>]]></text>
<description>Form</description>
<tag>form</tag>
</snippet>
<snippet id="h">
<text><![CDATA[<h${1:1} id="${2}">${3:$GEDIT_SELECTED_TEXT}</h${1}>
$0]]></text>
<description>Heading</description>
<tag>h</tag>
</snippet>
<snippet id="head">
<text><![CDATA[<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>${1:Page Title}</title>
$0
</head>]]></text>
<description>Head</description>
<tag>head</tag>
</snippet>
<snippet id="image">
<text><![CDATA[<img src="${1:path/to/file}" alt="${2:description}" title="${3:description}" width="$4" height="$5" />$0]]></text>
<tag>img</tag>
<description>Image</description>
</snippet>
<snippet id="input">
<text><![CDATA[<input type="${1:[button,checkbox,file,hidden,image,password,radio,reset,submit,text]}" name="${2:some_name}" value="$3" id="${5}" />]]></text>
<description>Input</description>
<tag>input</tag>
</snippet>
<snippet id="li">
<text><![CDATA[<li>$1</li>$0]]></text>
<tag>li</tag>
<description>List Element</description>
</snippet>
<snippet id="link">
<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>
<description>Link</description>
<tag>link</tag>
</snippet>
<snippet id="meta">
<text><![CDATA[<meta name="${1:name}" content="${2:content}" />]]></text>
<description>Meta</description>
<tag>meta</tag>
</snippet>
<snippet id="nbsp">
<text><![CDATA[ ]]></text>
<accelerator><![CDATA[<Control><Alt>space]]></accelerator>
<description>Non-Breaking Space</description>
</snippet>
<snippet id="noscript">
<text><![CDATA[<noscript>$1</noscript>$0]]></text>
<tag>noscript</tag>
<description>Noscript</description>
</snippet>
<snippet id="option">
<text><![CDATA[<option value="${1:value}">$2</option>$0]]></text>
<tag>option</tag>
<description>Option</description>
</snippet>
<snippet id="script">
<text><![CDATA[<script type="text/javascript" language="javascript" charset="utf-8">
// <![CDATA[
$0
// ]]]]><![CDATA[>
</script>]]></text>
<description>Script</description>
<tag>script</tag>
</snippet>
<snippet id="scriptsrc">
<text><![CDATA[<script src="$1" type="text/javascript" language="${2:javascript}" charset="${3:utf-8}" />]]></text>
<description>Script With External Source</description>
<tag>scriptsrc</tag>
</snippet>
<snippet id="select">
<text><![CDATA[<select name="${1:name}">
<option value="${2:value}">$3</option>
$4
</select>$0
]]></text>
<tag>select</tag>
<description>Select</description>
</snippet>
<snippet id="span">
<text><![CDATA[<span ${1}>$2</span>$0]]></text>
<tag>span</tag>
<description>Span</description>
</snippet>
<snippet id="style">
<text><![CDATA[<style type="text/css" media="screen">
/* <![CDATA[ */
$0
/* ]]]]><![CDATA[> */
</style>
]]></text>
<description>Style</description>
<tag>style</tag>
</snippet>
<snippet id="table">
<text><![CDATA[<table border="${1:0}" cellspacing="${2:0}" cellpadding="${3:0}">
<tr><th>${4:Header}</th></tr>
<tr><td>${5:Data}</td></tr>
$0
</table>]]></text>
<description>Table</description>
<tag>table</tag>
</snippet>
<snippet id="textarea">
<text><![CDATA[<textarea name="${1:Name}" rows="${2:8}" cols="${3:40}">$0</textarea>]]></text>
<description>Text Area</description>
<tag>textarea</tag>
</snippet>
<snippet id="title">
<text><![CDATA[<title>${1:Page Title}</title>]]></text>
<description>Title</description>
<tag>title</tag>
</snippet>
<snippet id="tr">
<text><![CDATA[<tr><td>$1</td></tr>
$0]]></text>
<tag>tr</tag>
<description>Table Row</description>
</snippet>
<snippet id="ul">
<text><![CDATA[<ul>
<li>$1</li>
$2
</ul>
$0]]></text>
<tag>ul</tag>
<description>Unordered List</description>
</snippet>
</snippets>
|