1
<?xml version="1.0" encoding="UTF-8" ?>
4
all-html.bfinc $Revision: 4947 $
6
Copyright (C) 2008-2009 Olivier Sessink
8
This program is free software; you can redistribute it and/or modify
9
it under the terms of the GNU General Public License as published by
10
the Free Software Foundation; either version 2 of the License, or
11
(at your option) any later version.
13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public License for more details.
18
You should have received a copy of the GNU General Public License
19
along with this program; if not, write to the Free Software
20
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23
<element id="e.html.lcomment" pattern="<!--" highlight="html-comment" starts_block="1">
24
<context symbols="-> 	 " highlight="html-comment">
25
<element pattern="-->" ends_block="1" blockstartelement="e.html.lcomment" highlight="html-comment" mayfold="1" ends_context="1" />
29
<tag name="html" case_insens="1" sgml_shorttag="1" attributes="version,&i18n;" highlight="html-tag" autocomplete_append="> </html>" autocomplete_backup_cursor="8">
30
<reference>Defines an HTML document</reference>
32
<tag name="head" case_insens="1" sgml_shorttag="1" attributes="profile,&i18n;" highlight="html-tag" autocomplete_append="> </head>" autocomplete_backup_cursor="8">
33
<reference>Defines the header information about the document</reference>
35
<tag name="frameset" case_insens="1" sgml_shorttag="1" attributes="&univ;,cols,onload,onunload,rows">
36
<reference>Defines a frameset</reference>
38
<tag name="base" highlight="html-tag" case_insens="1" sgml_shorttag="1" attributes="href,target" attribhighlight="html-attribute" autocomplete_append="> </base>" >
39
<reference>Defines a default address or a default target for all links on a page</reference>
41
<tag name="meta" highlight="html-tag" case_insens="1" sgml_shorttag="1" attributes="&i18n;,content,http-equiv,name,scheme" attribhighlight="html-attribute" autocomplete_append=" >" attrib_autocomplete_append="=""" attrib_autocomplete_backup_cursor="1">
42
<reference>Defines metadata about an HTML document</reference>
44
<tag name="title" highlight="html-tag" case_insens="1" sgml_shorttag="1" attributes="&i18n;" attribhighlight="html-attribute">
45
<reference>Defines the title of a document</reference>
48
<tag id="t.html.script" name="script" highlight="html-tag" case_insens="1" sgml_shorttag="1" attributes="charset,defer,event,language,for,src,type" attribhighlight="html-attribute" autocomplete_append=" type="text/javascript" > </script>" autocomplete_backup_cursor="10">
49
<context symbols=" ;(){}[]:\"\\',><*&^%!+=-|/?#	 .">
50
<element pattern="(" id="e.html.js.lparen" starts_block="1" highlight="js-brackets" />
51
<element pattern=")" highlight="js-brackets" ends_block="1" blockstartelement="e.html.js.lparen" />
52
<element pattern="{" id="e.html.js.lbrace" starts_block="1" highlight="js-brackets" />
53
<element pattern="}" highlight="js-brackets" ends_block="1" blockstartelement="e.html.js.lbrace" />
54
<element pattern="[" id="e.html.js.lbracket" starts_block="1" highlight="js-brackets" />
55
<element pattern="]" highlight="js-brackets" ends_block="1" blockstartelement="e.html.js.lbracket" />
57
<element pattern="//" highlight="js-comment">
58
<context symbols=" >< " highlight="js-comment">
59
<element pattern="( | | )" is_regex="1" highlight="js-comment" ends_context="1" />
60
<element pattern="</script>" highlight="html-tag" ends_context="3" case_insens="1" ends_block="1" blockstartelement="t.html.script"/>
63
<element id="e.html.js.blockcomment" pattern="/*" starts_block="1" highlight="js-comment">
64
<context symbols="*/	 >< " highlight="js-comment">
65
<element pattern="*/" ends_block="1" blockstartelement="e.html.js.blockcomment" highlight="js-comment" mayfold="1" ends_context="1" />
66
<element pattern="</script>" highlight="html-tag" case_insens="1" ends_context="3" ends_block="1" blockstartelement="t.html.script"/>
69
<element idref="e.html.lcomment"/>
73
<tag name="style" highlight="html-tag" case_insens="1" sgml_shorttag="1" attributes="&i18n;,media,title,type" attribhighlight="html-attribute" autocomplete_append="> </style>" autocomplete_backup_cursor="9" attrib_autocomplete_append="=""" attrib_autocomplete_backup_cursor="1">
74
<context symbols=" 	 {}./*<>">
75
<element idref="e.html.lcomment"/>
76
<element id="e.html.css.lcomment" pattern="/*" starts_block="1" highlight="css-comment">
77
<context symbols="*/	 " highlight="css-comment">
78
<element pattern="*/" ends_block="1" blockstartelement="e.html.css.lcomment" highlight="css-comment" ends_context="1" />
82
<element id="e.css.lbrace" pattern="{" starts_block="1" highlight="css-brackets">
83
<context symbols=" 	 {}.:"';">
85
<element id="e.css.lcomment" pattern="/*" starts_block="1" highlight="css-comment">
86
<context symbols="*/	 " highlight="css-comment">
87
<element pattern="*/" ends_block="1" blockstartelement="e.css.lcomment" highlight="css-comment" mayfold="1" ends_context="1" />
90
<element pattern="</style>" highlight="html-tag" ends_context="3" />
91
<element pattern="}" ends_block="1" blockstartelement="e.css.lbrace" highlight="css-brackets" ends_context="1" />
97
<tag name="link" highlight="html-tag" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;&evnt;,charset,href,hreflang,media,rel,rev,target,type" attribhighlight="html-attribute" autocomplete_append=">" attrib_autocomplete_append="=""" attrib_autocomplete_backup_cursor="1" >
98
<reference>Defines the relationship between a document and an external resource </reference>
101
<tag name="body" highlight="html-tag" case_insens="1" sgml_shorttag="1" autocomplete_append="> </body>" autocomplete_backup_cursor="8" attributes="alink,background,bgcolor,link,onload,onunload,text,vlink,&univ;,&i18n;">
102
<reference>Defines the document's body</reference>
105
<group highlight="html-reference-external-tag" attribhighlight="html-attribute" attrib_autocomplete_append="=""" attrib_autocomplete_backup_cursor="1">
106
<tag name="a" case_insens="1" sgml_shorttag="1" attributes="accesskey,charset,coords,href,hreflang,name,onblur,onfocus,rel,rev,shape,tabindex,target,type,&univ;,&i18n;,&evnt;" autocomplete_append=" href="" >" >
107
<reference>The a tag inserts an anchor into a document</reference>
109
<tag name="img" case_insens="1" sgml_shorttag="1" no_close="1" attributes="&univ;,&i18n;,&evnt;,align,alt,border,height,hspace,ismap,longdesc,name,src,usemap,vspace,width" autocomplete_append=" src="" alt="" >" >
110
<reference>The img tag inserts an image into a document</reference>
112
<tag name="object" case_insens="1" sgml_shorttag="1" attributes="align,archive,border,classid,codebase,codetype,data,declare,height,hspace,name,standby,tabindex,type,usemap,vspace,width,&univ;,&i18n;,&evnt;">
113
<reference>Defines an embedded object</reference>
115
<tag name="param" case_insens="1" sgml_shorttag="1" attributes="id,name,type,value,valuetype" autocomplete_append=" name="" >" />
118
<group highlight="html-tag" attribhighlight="html-attribute" attrib_autocomplete_append="=""" attrib_autocomplete_backup_cursor="1">
119
<tag name="abbr" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
120
<reference>Defines an embedded object</reference>
122
<tag name="acronym" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
123
<reference>Defines an acronym</reference>
125
<tag name="address" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
126
<reference>Defines an address</reference>
128
<tag name="area" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,alt,accesskey,coords,href,nohref,onblur,onfocus,shape,tabindex,target">
129
<reference>Defines a click-able area inside an image-map</reference>
131
<tag name="b" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
132
<reference>Render content in bold face</reference>
134
<tag name="bdo" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,dir">
135
<reference>Defines/overrides the text direction (right-to-left or left-to-right)</reference>
137
<tag name="big" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,dir">
138
<reference>Renders content as bigger text</reference>
140
<tag name="blockquote" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,cite">
141
<reference>Defines a long quotation</reference>
143
<tag name="br" case_insens="1" sgml_shorttag="1" no_close="1" autocomplete_append=">" attributes="&univ;,clear">
144
<reference>Defines a single line break</reference>
146
<tag name="button" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,accesskey,disabled,name,onblur,onfocus,tabindex,type,value">
147
<reference>Defines a push button</reference>
149
<tag name="cite" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
150
<reference>Defines a citation</reference>
152
<tag name="code" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
153
<reference>Defines computer code text</reference>
155
<tag name="col" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,align,char,charoff,span,valign,width">
156
<reference>Defines attribute values for one or more columns in a table</reference>
158
<tag name="colgroup" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,align,char,charoff,span,valign,width">
159
<reference>Defines a column group in a table for formatting</reference>
161
<tag name="dd" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
162
<reference>Defines a definition list definition</reference>
164
<tag name="del" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,cite,datetime">
165
<reference>Defines deleted text</reference>
167
<tag name="dfn" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
168
<reference>Defines a definition term</reference>
170
<tag name="div" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,align">
171
<reference>Defines a block section in a document - it provides no visual change by itself</reference>
173
<tag name="dl" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,compact">
174
<reference>Defines a definition list</reference>
176
<tag name="dt" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
177
<reference>Defines a definition list term</reference>
179
<tag name="em" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
180
<reference>Defines emphasized text</reference>
182
<tag name="h1" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,align">
183
<reference>Defines a HTML heading</reference>
185
<tag name="h2" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,align">
186
<reference>Defines a HTML heading</reference>
188
<tag name="h3" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,align">
189
<reference>Defines a HTML heading</reference>
191
<tag name="h4" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,align">
192
<reference>Defines a HTML heading</reference>
194
<tag name="h5" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,align">
195
<reference>Defines a HTML heading</reference>
197
<tag name="h6" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,align">
198
<reference>Defines a HTML heading</reference>
200
<tag name="hr" case_insens="1" sgml_shorttag="1" no_close="1" autocomplete_append=">" attributes="&univ;,align,noshade,size,width" >
201
<reference>Defines a horizontal line</reference>
203
<tag name="i" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
204
<reference>Defines italic text</reference>
206
<tag name="ins" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,cite,datetime">
207
<reference>Defines inserted text</reference>
209
<tag name="kbd" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
210
<reference>Defines keyboard text</reference>
212
<tag name="li" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,type,value">
213
<reference>Defines a list item</reference>
215
<tag name="map" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,name">
216
<reference>Defines an image-map with clickable areas</reference>
218
<tag name="noscript" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
219
<reference>Defines alternate content for users that have scripts disabled</reference>
221
<tag name="ol" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,compact,start,type">
222
<reference>Defines an ordered list</reference>
224
<tag name="p" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,align">
225
<reference>Defines a paragraph</reference>
227
<tag name="pre" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,width">
228
<reference>Defines preformatted text</reference>
230
<tag name="q" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,cite">
231
<reference>Defines a short quotation</reference>
233
<tag name="samp" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
234
<reference>Defines sample computer code</reference>
236
<tag name="small" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
237
<reference>Renders as smaller text</reference>
239
<tag name="span" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
240
<reference>Defines an inline section of the document - it provides no visual change by itself</reference>
242
<tag name="strong" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
243
<reference>Defines strong emphasized text</reference>
245
<tag name="sub" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
246
<reference>Defines subscripted text</reference>
248
<tag name="sup" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
249
<reference>Defines superscripted text</reference>
251
<tag name="tt" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
252
<reference>Defines teletype text</reference>
254
<tag name="ul" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,compact,type">
255
<reference>Defines an unordered list</reference>
257
<tag name="var" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
258
<reference>Defines a variable part of a text</reference>
262
<group highlight="html-deprecated-tag" attribhighlight="html-attribute" attrib_autocomplete_append="=""" attrib_autocomplete_backup_cursor="1">
263
<tag name="applet" case_insens="1" sgml_shorttag="1" attributes="&univ;,align,alt,archive,code,codebase,height,hspace,name,object,vspace,width">
264
<reference>Defines an embedded Java applet (<b>deprecated</b>)</reference>
266
<tag name="basefont" case_insens="1" sgml_shorttag="1" attributes="id,color,face,size">
267
<reference>Defines the default font face, size and color for the text in a document (<b>deprecated</b>)</reference>
269
<tag name="center" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
270
<reference>Center text (<b>deprecated</b>)</reference>
272
<tag name="dir" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,compact">
273
<reference>Defines a list of directory titles (<b>deprecated</b>)</reference>
275
<tag name="font" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,color,face,size">
276
<reference>Defines font face, color and size for text (<b>deprecated</b>)</reference>
278
<tag name="menu" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,compact">
279
<reference>Defines a list of menu choices (<b>deprecated</b>)</reference>
281
<tag name="s" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
282
<reference>Render strike-through style text (<b>deprecated</b>)</reference>
284
<tag name="strike" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
285
<reference>Render strike-through style text (<b>deprecated</b>)</reference>
287
<tag name="u" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
288
<reference>Defines underlined text (<b>deprecated</b>)</reference>
292
<group highlight="html-deprecated-tag" attribhighlight="html-attribute" attrib_autocomplete_append="=""" attrib_autocomplete_backup_cursor="1">
293
<tag name="frame" case_insens="1" sgml_shorttag="1" attributes="&univ;,frameborder,longdesc,marginwidth,marginheight,name,noresize,scrolling,src">
294
<reference>Defines a particular window (frame) within a frameset</reference>
296
<tag name="noframes" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
297
<reference>Defines content for browsers not able to handle/show frames</reference>
299
<tag name="iframe" case_insens="1" sgml_shorttag="1" attributes="&univ;,align,frameborder,height,longdesc,marginwidth,marginheight,name,scrolling,src,width">
300
<reference>Defines an inline frame that contains another document</reference>
304
<group highlight="html-form-tag" attribhighlight="html-attribute" attrib_autocomplete_append="=""" attrib_autocomplete_backup_cursor="1">
305
<tag name="fieldset" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;">
306
<reference>Defines a border around elements in a form</reference>
308
<tag name="form" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,accept,accept-charset,action,enctype,method,name,onreset,onsubmit,target">
309
<reference>Defines an HTML form for user input</reference>
311
<tag name="input" case_insens="1" sgml_shorttag="1" no_close="1" attributes="&univ;,&i18n;,&evnt;,accept,accesskey,align,alt,checked,disabled,ismap,maxlength,name,onblur,onchange,onfocus,onselect,readonly,size,src,tabindex,type,usemap,value">
312
<reference>Defines an input control</reference>
314
<tag name="isindex" case_insens="1" sgml_shorttag="1" attributes="class,dir,id,lang,prompt,style,title">
315
<reference>Defines an input control</reference>
317
<tag name="label" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,accesskey,for,onblur,onfocus">
318
<reference>Defines a label for an input element</reference>
320
<tag name="legend" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,accesskey,align">
321
<reference>Defines a caption for a fieldset element</reference>
323
<tag name="optgroup" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,disabled,label">
324
<reference> Defines a group of related options in a select list</reference>
326
<tag name="option" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,disabled,label,selected,value">
327
<reference>Defines an option in a select list</reference>
329
<tag name="select" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,disabled,multiple,name,onblur,onchange,onfocus,size,tabindex">
330
<reference>Defines a select list (drop-down list)</reference>
332
<tag name="textarea" case_insens="1" sgml_shorttag="1" attributes="&univ;,&i18n;,&evnt;,accesskey,cols,disabled,name,onblur,onchange,onfocus,onselect,readonly,rows,tabindex">
333
<reference>Defines a multi-line text input control</reference>
337
<group highlight="html-table-tag" attribhighlight="html-attribute" attrib_autocomplete_append="=""" attrib_autocomplete_backup_cursor="1">
338
<tag name="table" case_insens="1" sgml_shorttag="1" attributes="align,border,bgcolor,cellpadding,cellspacing,frame,rules,summary,width,&univ;,&i18n;,&evnt;" autocomplete_append=" summary="" > </table>" autocomplete_backup_cursor="9">
339
<reference>Defines a table</reference>
341
<tag name="caption" case_insens="1" sgml_shorttag="1" attributes="align,&univ;,&i18n;,&evnt;" >
342
<reference>Defines a table caption</reference>
344
<tag name="td" case_insens="1" sgml_shorttag="1" attributes="abbr,align,axis,bgcolor,char,charoff,colspan,headers,height,nowrap,rowspan,scope,valign,width,&univ;,&i18n;,&evnt;" >
345
<reference>Defines a cell in a table</reference>
347
<tag name="th" case_insens="1" sgml_shorttag="1" attributes="abbr,align,axis,bgcolor,char,charoff,colspan,headers,height,nowrap,rowspan,scope,valign,width,&univ;,&i18n;,&evnt;" >
348
<reference>Defines a header cell in a table</reference>
350
<tag name="tr" case_insens="1" sgml_shorttag="1" attributes="align,bgcolor,char,charoff,valign,&univ;,&i18n;,&evnt;" >
351
<reference>Defines a row in a table</reference>
353
<tag name="tbody" case_insens="1" sgml_shorttag="1" attributes="align,char,charoff,valign,&univ;,&i18n;,&evnt;" >
354
<reference>Groups the body content in a table</reference>
356
<tag name="tfoot" case_insens="1" sgml_shorttag="1" attributes="align,char,charoff,valign,&univ;,&i18n;,&evnt;" >
357
<reference>Groups the footer content in a table</reference>
359
<tag name="thead" case_insens="1" sgml_shorttag="1" attributes="align,char,charoff,valign,&univ;,&i18n;,&evnt;" >
360
<reference>Groups the header content in a table</reference>
364
<element pattern="&[a-z0-9#]+;" is_regex="1" highlight="html-entity" />