/[aagtl_public1]/src/net/htmlparser/jericho/HTMLElementName.java
aagtl

Contents of /src/net/htmlparser/jericho/HTMLElementName.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Sun Aug 5 13:48:36 2012 UTC (11 years, 7 months ago) by zoffadmin
File size: 63939 byte(s)
initial import of aagtl source code
1 // Jericho HTML Parser - Java based library for analysing and manipulating HTML
2 // Version 3.2
3 // Copyright (C) 2004-2009 Martin Jericho
4 // http://jericho.htmlparser.net/
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of either one of the following licences:
8 //
9 // 1. The Eclipse Public License (EPL) version 1.0,
10 // included in this distribution in the file licence-epl-1.0.html
11 // or available at http://www.eclipse.org/legal/epl-v10.html
12 //
13 // 2. The GNU Lesser General Public License (LGPL) version 2.1 or later,
14 // included in this distribution in the file licence-lgpl-2.1.txt
15 // or available at http://www.gnu.org/licenses/lgpl.txt
16 //
17 // This library is distributed on an "AS IS" basis,
18 // WITHOUT WARRANTY OF ANY KIND, either express or implied.
19 // See the individual licence texts for more details.
20
21 package net.htmlparser.jericho;
22
23 import java.util.*;
24
25 /**
26 * Contains static fields representing the {@linkplain Element#getName() names} of
27 * <a target="_blank" href="http://www.w3.org/TR/html401/index/elements.html">all elements defined in the HTML 4.01 specification</a>
28 * and the <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#elements-1">draft HTML 5 specification</a>.
29 * <p>
30 * All of the name strings are in lower case.
31 * <p>
32 * The {@link HTMLElements} class is closely related to this interface, containing static methods which group these names
33 * by the characteristics of their associated <a href="HTMLElements.html#HTMLElement">elements</a>.
34 * <p>
35 * This interface does not specify any methods, but can be inherited by other classes, or statically imported (Java 5.0),
36 * to provide less verbose access to the contained element name static fields.
37 * <p>
38 * The field values in this interface can be used as <code>name</code> arguments in <a href="Tag.html#NamedSearch">named tag searches</a>.
39 *
40 * @see HTMLElements
41 * @see Element
42 */
43 public interface HTMLElementName {
44 /**
45 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/links.html#edef-A">HTML element A</a> - anchor.
46 * <p>
47 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
48 * <p>
49 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
50 */
51 public static final String A="a";
52
53 /**
54 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-ABBR">HTML element ABBR</a> - abbreviated form (e.g., WWW, HTTP, etc.).
55 * <p>
56 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
57 * <p>
58 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
59 */
60 public static final String ABBR="abbr";
61
62 /**
63 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-ACRONYM">HTML element ACRONYM</a> - acronym.
64 * <p>
65 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
66 * <p>
67 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
68 */
69 public static final String ACRONYM="acronym";
70
71 /**
72 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-ADDRESS">HTML element ADDRESS</a> - information on author.
73 * <p>
74 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
75 * <p>
76 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
77 */
78 public static final String ADDRESS="address";
79
80 /**
81 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/objects.html#edef-APPLET">HTML element APPLET</a> - Java applet.
82 * <p>
83 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
84 * <p>
85 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
86 * <p>
87 * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
88 * (see {@link HTMLElements#getDeprecatedElementNames()})
89 */
90 public static final String APPLET="applet";
91
92 /**
93 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/objects.html#edef-AREA">HTML element AREA</a> - client-side image map area.
94 * <p>
95 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
96 */
97 public static final String AREA="area";
98
99 /**
100 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-article-element">HTML element article</a> - self-contained syndicatable or reusable composition.
101 * <p>
102 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
103 * <p>
104 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
105 */
106 public static final String ARTICLE="article";
107
108 /**
109 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-aside-element">HTML element aside</a> - sidebar for tangentially related content.
110 * <p>
111 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
112 * <p>
113 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
114 */
115 public static final String ASIDE="aside";
116
117 /**
118 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-audio-element">HTML element audio</a> - audio player.
119 * <p>
120 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
121 */
122 public static final String AUDIO="audio";
123
124 /**
125 * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-B">HTML element B</a> - bold text style.
126 * <p>
127 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
128 * <p>
129 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
130 */
131 public static final String B="b";
132
133 /**
134 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/links.html#edef-BASE">HTML element BASE</a> - document base URI.
135 * <p>
136 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
137 */
138 public static final String BASE="base";
139
140 /**
141 * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-BASEFONT">HTML element BASEFONT</a> - base font size.
142 * <p>
143 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
144 * <p>
145 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
146 * <p>
147 * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
148 * (see {@link HTMLElements#getDeprecatedElementNames()})
149 */
150 public static final String BASEFONT="basefont";
151
152 /**
153 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-bdi-element">HTML element bdi</a> - text directionality isolation.
154 * <p>
155 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
156 * <p>
157 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
158 */
159 public static final String BDI="bdi";
160
161 /**
162 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/dirlang.html#edef-BDO">HTML element BDO</a> - I18N BiDi over-ride.
163 * <p>
164 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
165 * <p>
166 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
167 */
168 public static final String BDO="bdo";
169
170 /**
171 * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-BIG">HTML element BIG</a> - large text style.
172 * <p>
173 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
174 * <p>
175 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
176 */
177 public static final String BIG="big";
178
179 /**
180 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-BLOCKQUOTE">HTML element BLOCKQUOTE</a> - long quotation.
181 * <p>
182 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
183 * <p>
184 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
185 */
186 public static final String BLOCKQUOTE="blockquote";
187
188 /**
189 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-BODY">HTML element BODY</a> - document body.
190 * <p>
191 * The start tag of this element is {@linkplain HTMLElements#getStartTagOptionalElementNames() optional}.
192 * <p>
193 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
194 * <table class="CompactDL" cellspacing="0">
195 * <tr>
196 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
197 * <td>(none)
198 * <tr>
199 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
200 * <td>{@link #BODY}, {@link #HTML}
201 * <tr>
202 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
203 * <td>{@link #HTML}
204 * </table>
205 * <p>
206 * Note that the {@link #HTML} element is included as a
207 * {@linkplain HTMLElements#getNonterminatingElementNames(String) nonterminating element} in case the source contains
208 * (illegaly) nested HTML elements.
209 */
210 public static final String BODY="body";
211
212 /**
213 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-BR">HTML element BR</a> - forced line break.
214 * <p>
215 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
216 * <p>
217 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
218 */
219 public static final String BR="br";
220
221 /**
222 * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-BUTTON">HTML element BUTTON</a> - push button.
223 * <p>
224 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
225 * <p>
226 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
227 */
228 public static final String BUTTON="button";
229
230 /**
231 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-article-element">HTML element canvas</a> - scriptable bitmap canvas.
232 * <p>
233 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
234 */
235 public static final String CANVAS="canvas";
236
237 /**
238 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-CAPTION">HTML element CAPTION</a> - table caption.
239 * <p>
240 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
241 */
242 public static final String CAPTION="caption";
243
244 /**
245 * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-CENTER">HTML element CENTER</a> - shorthand for DIV align=center.
246 * <p>
247 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
248 * <p>
249 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
250 * <p>
251 * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
252 * (see {@link HTMLElements#getDeprecatedElementNames()})
253 */
254 public static final String CENTER="center";
255
256 /**
257 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-CITE">HTML element CITE</a> - citation.
258 * <p>
259 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
260 * <p>
261 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
262 */
263 public static final String CITE="cite";
264
265 /**
266 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-CODE">HTML element CODE</a> - computer code fragment.
267 * <p>
268 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
269 * <p>
270 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
271 */
272 public static final String CODE="code";
273
274 /**
275 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-COL">HTML element COL</a> - table column.
276 * <p>
277 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
278 */
279 public static final String COL="col";
280
281 /**
282 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-COLGROUP">HTML element COLGROUP</a> - table column group.
283 * <p>
284 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
285 * <table class="CompactDL" cellspacing="0">
286 * <tr>
287 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
288 * <td>{@link #COLGROUP}, {@link #TBODY}, {@link #TFOOT}, {@link #THEAD}, {@link #TR}
289 * <tr>
290 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
291 * <td>{@link #COLGROUP}, {@link #TABLE}
292 * <tr>
293 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
294 * <td>{@link #TABLE}
295 * </table>
296 */
297 public static final String COLGROUP="colgroup";
298
299 /**
300 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-command">HTML element command</a> - menu command.
301 * <p>
302 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
303 */
304 public static final String COMMAND="command";
305
306 /**
307 * <a target="_blank" href="http://dev.w3.org/html5/spec/forms.html#the-datalist-element">HTML element datalist</a> - container for options for combo box control.
308 * <p>
309 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
310 */
311 public static final String DATALIST="datalist";
312
313 /**
314 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-DD">HTML element DD</a> - definition description.
315 * <p>
316 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
317 * <table class="CompactDL" cellspacing="0">
318 * <tr>
319 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
320 * <td>{@link #DD}, {@link #DT}
321 * <tr>
322 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
323 * <td>{@link #DD}, {@link #DL}
324 * <tr>
325 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
326 * <td>{@link #DL}
327 * </table>
328 */
329 public static final String DD="dd";
330
331 /**
332 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-DEL">HTML element DEL</a> - deleted text.
333 * <p>
334 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
335 * <p>
336 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
337 */
338 public static final String DEL="del";
339
340 /**
341 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-details-element">HTML element details</a> - disclosure control for hiding details.
342 * <p>
343 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
344 * <p>
345 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
346 */
347 public static final String DETAILS="details";
348
349 /**
350 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-DFN">HTML element DFN</a> - instance definition.
351 * <p>
352 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
353 * <p>
354 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
355 */
356 public static final String DFN="dfn";
357
358 /**
359 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-DIR">HTML element DIR</a> - directory list.
360 * <p>
361 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
362 * <p>
363 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
364 * <p>
365 * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
366 * (see {@link HTMLElements#getDeprecatedElementNames()})
367 */
368 public static final String DIR="dir";
369
370 /**
371 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-DIV">HTML element DIV</a> - generic language/style container.
372 * <p>
373 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
374 * <p>
375 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
376 */
377 public static final String DIV="div";
378
379 /**
380 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-DL">HTML element DL</a> - definition list.
381 * <p>
382 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
383 * <p>
384 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
385 */
386 public static final String DL="dl";
387
388 /**
389 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-DT">HTML element DT</a> - definition term.
390 * <p>
391 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
392 * <table class="CompactDL" cellspacing="0">
393 * <tr>
394 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
395 * <td>{@link #DD}, {@link #DT}
396 * <tr>
397 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
398 * <td>{@link #DL}, {@link #DT}
399 * <tr>
400 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
401 * <td>{@link #DL}
402 * </table>
403 */
404 public static final String DT="dt";
405
406 /**
407 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-EM">HTML element EM</a> - emphasis.
408 * <p>
409 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
410 * <p>
411 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
412 */
413 public static final String EM="em";
414
415 /**
416 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-embed-element">HTML element embed</a> - plugin.
417 * <p>
418 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
419 */
420 public static final String EMBED="embed";
421
422 /**
423 * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-FIELDSET">HTML element FIELDSET</a> - form control group.
424 * <p>
425 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
426 * <p>
427 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
428 */
429 public static final String FIELDSET="fieldset";
430
431 /**
432 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-figcaption-element">HTML element figcaption</a> - caption for figure.
433 * <p>
434 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
435 */
436 public static final String FIGCAPTION="figcaption";
437
438 /**
439 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-figure-element">HTML element figure</a> - figure with optional caption.
440 * <p>
441 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
442 */
443 public static final String FIGURE="figure";
444
445 /**
446 * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-FONT">HTML element FONT</a> - local change to font.
447 * <p>
448 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
449 * <p>
450 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
451 * <p>
452 * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
453 * (see {@link HTMLElements#getDeprecatedElementNames()})
454 */
455 public static final String FONT="font";
456
457 /**
458 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-footer-element">HTML element footer</a> - footer for a page or section.
459 * <p>
460 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
461 * <p>
462 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
463 */
464 public static final String FOOTER="footer";
465
466 /**
467 * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-FORM">HTML element FORM</a> - interactive form.
468 * <p>
469 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
470 * <p>
471 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
472 */
473 public static final String FORM="form";
474
475 /**
476 * <a target="_blank" href="http://www.w3.org/TR/html401/present/frames.html#edef-FRAME">HTML element FRAME</a> - subwindow.
477 * <p>
478 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
479 */
480 public static final String FRAME="frame";
481
482 /**
483 * <a target="_blank" href="http://www.w3.org/TR/html401/present/frames.html#edef-FRAMESET">HTML element FRAMESET</a> - window subdivision.
484 * <p>
485 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
486 */
487 public static final String FRAMESET="frameset";
488
489 /**
490 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-H1">HTML element H1</a> - heading.
491 * <p>
492 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
493 * <p>
494 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
495 */
496 public static final String H1="h1";
497
498 /**
499 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-H2">HTML element H2</a> - heading.
500 * <p>
501 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
502 * <p>
503 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
504 */
505 public static final String H2="h2";
506
507 /**
508 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-H3">HTML element H3</a> - heading.
509 * <p>
510 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
511 * <p>
512 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
513 */
514 public static final String H3="h3";
515
516 /**
517 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-H4">HTML element H4</a> - heading.
518 * <p>
519 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
520 * <p>
521 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
522 */
523 public static final String H4="h4";
524
525 /**
526 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-H5">HTML element H5</a> - heading.
527 * <p>
528 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
529 * <p>
530 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
531 */
532 public static final String H5="h5";
533
534 /**
535 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-H6">HTML element H6</a> - heading.
536 * <p>
537 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
538 * <p>
539 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
540 */
541 public static final String H6="h6";
542
543 /**
544 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-HEAD">HTML element HEAD</a> - document head.
545 * <p>
546 * The start tag of this element is {@linkplain HTMLElements#getStartTagOptionalElementNames() optional}.
547 * <p>
548 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
549 * <table class="CompactDL" cellspacing="0">
550 * <tr>
551 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
552 * <td>{@link #BODY}, {@link #FRAMESET}
553 * <tr>
554 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
555 * <td>{@link #HEAD}, {@link #HTML}
556 * <tr>
557 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
558 * <td>(none)
559 * </table>
560 */
561 public static final String HEAD="head";
562
563 /**
564 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-header-element">HTML element header</a> - introductory or navigational aids for a page or section.
565 * <p>
566 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
567 * <p>
568 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
569 */
570 public static final String HEADER="header";
571
572 /**
573 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-hgroup-element">HTML element hgroup</a> - heading group.
574 * <p>
575 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
576 * <p>
577 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
578 */
579 public static final String HGROUP="hgroup";
580
581 /**
582 * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-HR">HTML element HR</a> - horizontal rule.
583 * <p>
584 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
585 * <p>
586 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
587 */
588 public static final String HR="hr";
589
590 /**
591 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-HTML">HTML element HTML</a> - document root element.
592 * <p>
593 * The start tag of this element is {@linkplain HTMLElements#getStartTagOptionalElementNames() optional}.
594 * <p>
595 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
596 * <table class="CompactDL" cellspacing="0">
597 * <tr>
598 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
599 * <td>(none)
600 * <tr>
601 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
602 * <td>{@link #HTML}
603 * <tr>
604 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
605 * <td>{@link #HTML}
606 * </table>
607 * <p>
608 * Note that the {@link #HTML} element is included as a
609 * {@linkplain HTMLElements#getNonterminatingElementNames(String) nonterminating element} in case the source contains
610 * (illegaly) nested HTML elements.
611 */
612 public static final String HTML="html";
613
614 /**
615 * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-I">HTML element I</a> - italic text style.
616 * <p>
617 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
618 * <p>
619 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
620 */
621 public static final String I="i";
622
623 /**
624 * <a target="_blank" href="http://www.w3.org/TR/html401/present/frames.html#edef-IFRAME">HTML element IFRAME</a> - inline subwindow.
625 * <p>
626 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
627 * <p>
628 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
629 */
630 public static final String IFRAME="iframe";
631
632 /**
633 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/objects.html#edef-IMG">HTML element IMG</a> - Embedded image.
634 * <p>
635 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
636 * <p>
637 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
638 */
639 public static final String IMG="img";
640
641 /**
642 * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-INPUT">HTML element INPUT</a> - form control.
643 * <p>
644 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
645 * <p>
646 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
647 */
648 public static final String INPUT="input";
649
650 /**
651 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-INS">HTML element INS</a> - inserted text.
652 * <p>
653 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
654 * <p>
655 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
656 */
657 public static final String INS="ins";
658
659 /**
660 * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-ISINDEX">HTML element ISINDEX</a> - single line prompt.
661 * <p>
662 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
663 * <p>
664 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
665 * <p>
666 * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
667 * (see {@link HTMLElements#getDeprecatedElementNames()})
668 */
669 public static final String ISINDEX="isindex";
670
671 /**
672 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-KBD">HTML element KBD</a> - text to be entered by the user.
673 * <p>
674 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
675 * <p>
676 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
677 */
678 public static final String KBD="kbd";
679
680 /**
681 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-keygen-element">HTML element keygen</a> - cryptographic key-pair generator form control.
682 * <p>
683 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
684 * <p>
685 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
686 */
687 public static final String KEYGEN="keygen";
688
689 /**
690 * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-LABEL">HTML element LABEL</a> - form field label text.
691 * <p>
692 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
693 * <p>
694 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
695 */
696 public static final String LABEL="label";
697
698 /**
699 * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-LEGEND">HTML element LEGEND</a> - fieldset legend.
700 * <p>
701 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
702 */
703 public static final String LEGEND="legend";
704
705 /**
706 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-LI">HTML element LI</a> - list item.
707 * <p>
708 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
709 * <table class="CompactDL" cellspacing="0">
710 * <tr>
711 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
712 * <td>{@link #LI}
713 * <tr>
714 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
715 * <td>{@link #LI}, {@link #OL}, {@link #UL}
716 * <tr>
717 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
718 * <td>{@link #OL}, {@link #UL}
719 * </table>
720 */
721 public static final String LI="li";
722
723 /**
724 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/links.html#edef-LINK">HTML element LINK</a> - a media-independent link.
725 * <p>
726 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
727 */
728 public static final String LINK="link";
729
730 /**
731 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/objects.html#edef-MAP">HTML element MAP</a> - client-side image map.
732 * <p>
733 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
734 * <p>
735 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
736 */
737 public static final String MAP="map";
738
739 /**
740 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-mark-element">HTML element mark</a> - highlight.
741 * <p>
742 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
743 * <p>
744 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
745 */
746 public static final String MARK="mark";
747
748 /**
749 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-MENU">HTML element MENU</a> - menu list.
750 * <p>
751 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
752 * <p>
753 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
754 * <p>
755 * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
756 * (see {@link HTMLElements#getDeprecatedElementNames()})
757 */
758 public static final String MENU="menu";
759
760 /**
761 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-META">HTML element META</a> - generic metainformation.
762 * <p>
763 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
764 */
765 public static final String META="meta";
766
767 /**
768 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-meter-element">HTML element meter</a> - gauge.
769 * <p>
770 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
771 * <p>
772 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
773 */
774 public static final String METER="meter";
775
776 /**
777 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-nav-element">HTML element nav</a> - section with navigational links.
778 * <p>
779 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
780 * <p>
781 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
782 */
783 public static final String NAV="nav";
784
785 /**
786 * <a target="_blank" href="http://www.w3.org/TR/html401/present/frames.html#edef-NOFRAMES">HTML element NOFRAMES</a> - alternate content container for non frame-based rendering.
787 * <p>
788 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
789 * <p>
790 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
791 */
792 public static final String NOFRAMES="noframes";
793
794 /**
795 * <a target="_blank" href="http://www.w3.org/TR/html401/interact/scripts.html#edef-NOSCRIPT">HTML element NOSCRIPT</a> - alternate content container for non script-based rendering.
796 * <p>
797 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
798 * <p>
799 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
800 */
801 public static final String NOSCRIPT="noscript";
802
803 /**
804 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/objects.html#edef-OBJECT">HTML element OBJECT</a> - generic embedded object.
805 * <p>
806 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
807 * <p>
808 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
809 */
810 public static final String OBJECT="object";
811
812 /**
813 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-OL">HTML element OL</a> - ordered list.
814 * <p>
815 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
816 * <p>
817 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
818 */
819 public static final String OL="ol";
820
821 /**
822 * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-OPTGROUP">HTML element OPTGROUP</a> - option group.
823 * <p>
824 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
825 */
826 public static final String OPTGROUP="optgroup";
827
828 /**
829 * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-OPTION">HTML element OPTION</a> - selectable choice.
830 * <p>
831 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
832 * <table class="CompactDL" cellspacing="0">
833 * <tr>
834 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
835 * <td>{@link #OPTGROUP}, {@link #OPTION}
836 * <tr>
837 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
838 * <td>{@link #OPTION}, {@link #SELECT}
839 * <tr>
840 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
841 * <td>(none)
842 * </table>
843 */
844 public static final String OPTION="option";
845
846 /**
847 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-output-element">HTML element output</a> - calculated output value.
848 * <p>
849 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
850 * <p>
851 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
852 */
853 public static final String OUTPUT="output";
854
855 /**
856 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-P">HTML element P</a> - paragraph.
857 * <p>
858 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
859 * <p>
860 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
861 * <table class="CompactDL" cellspacing="0">
862 * <tr>
863 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
864 * <td>{@linkplain HTMLElements#getBlockLevelElementNames() All block-level element names},<br />
865 * {@link #DD}, {@link #DT}, {@link #LI}, {@link #TD}, {@link #TH}
866 * <tr>
867 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
868 * <td>{@linkplain HTMLElements#getBlockLevelElementNames() All block-level element names},<br />
869 * {@link #BODY}, {@link #CAPTION}, {@link #DD}, {@link #DT}, {@link #HTML}, {@link #LEGEND}, {@link #TD}, {@link #TH},
870 * {@link #TBODY}, {@link #TFOOT}, {@link #THEAD}, {@link #TR}
871 * <tr>
872 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
873 * <td>(none)
874 * </table>
875 * <p>
876 * The <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-P">definition of this element in the HTML 4.01 specification</a>
877 * explicitly states that the <code>P</code> element cannot contain {@linkplain HTMLElements#getBlockLevelElementNames() block-level}
878 * elements.
879 * Despite this, all of the popular browsers (in at least some modes of operation) allow <code>P</code> elements to enclose
880 * {@link #TABLE} elements, which are also block-level elements.
881 * <p>
882 * It is possible to make this parser compatible with this incorrect behaviour by executing the following code:
883 * <pre>
884 * {@link HTMLElements#getTerminatingStartTagNames(String) HTMLElements.getTerminatingStartTagNames}(HTMLElementName.P).remove(HTMLElementName.TABLE);
885 * {@link HTMLElements#getNonterminatingElementNames(String) HTMLElements.getNonterminatingElementNames}(HTMLElementName.P).add(HTMLElementName.TABLE);</pre>
886 */
887 public static final String P="p";
888
889 /**
890 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/objects.html#edef-PARAM">HTML element PARAM</a> - named property value.
891 * <p>
892 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
893 */
894 public static final String PARAM="param";
895
896 /**
897 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-PRE">HTML element PRE</a> - preformatted text.
898 * <p>
899 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
900 * <p>
901 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
902 */
903 public static final String PRE="pre";
904
905 /**
906 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-progress-element">HTML element progress</a> - progress bar.
907 * <p>
908 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
909 * <p>
910 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
911 */
912 public static final String PROGRESS="progress";
913
914 /**
915 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-Q">HTML element Q</a> - short inline quotation.
916 * <p>
917 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
918 * <p>
919 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
920 */
921 public static final String Q="q";
922
923 /**
924 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-rp-element">HTML element rp</a> - parenthesis for ruby annotation text.
925 * <p>
926 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
927 * <p>
928 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
929 * <table class="CompactDL" cellspacing="0">
930 * <tr>
931 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
932 * <td>{@link #RP}, {@link #RT}
933 * <tr>
934 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
935 * <td>{@link #RUBY}
936 * <tr>
937 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
938 * <td>(none)
939 * </table>
940 */
941 public static final String RP="rp";
942
943 /**
944 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-rt-element">HTML element rt</a> - ruby annotation text.
945 * <p>
946 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
947 * <p>
948 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
949 * <table class="CompactDL" cellspacing="0">
950 * <tr>
951 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
952 * <td>{@link #RP}, {@link #RT}
953 * <tr>
954 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
955 * <td>{@link #RUBY}
956 * <tr>
957 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
958 * <td>(none)
959 * </table>
960 */
961 public static final String RT="rt";
962
963 /**
964 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-ruby-element">HTML element ruby</a> - ruby annotation(s).
965 * <p>
966 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
967 * <p>
968 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
969 */
970 public static final String RUBY="ruby";
971
972 /**
973 * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-S">HTML element S</a> - strike-through text style.
974 * <p>
975 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
976 * <p>
977 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
978 * <p>
979 * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
980 * (see {@link HTMLElements#getDeprecatedElementNames()})
981 */
982 public static final String S="s";
983
984 /**
985 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-SAMP">HTML element SAMP</a> - sample program output, scripts, etc..
986 * <p>
987 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
988 * <p>
989 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
990 */
991 public static final String SAMP="samp";
992
993 /**
994 * <a target="_blank" href="http://www.w3.org/TR/html401/interact/scripts.html#edef-SCRIPT">HTML element SCRIPT</a> - script statements.
995 * <p>
996 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
997 * <p>
998 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
999 */
1000 public static final String SCRIPT="script";
1001
1002 /**
1003 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-section-element">HTML element section</a> - generic document or application section.
1004 * <p>
1005 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
1006 * <p>
1007 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1008 */
1009 public static final String SECTION="section";
1010
1011 /**
1012 * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-SELECT">HTML element SELECT</a> - option selector.
1013 * <p>
1014 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1015 * <p>
1016 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1017 */
1018 public static final String SELECT="select";
1019
1020 /**
1021 * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-SMALL">HTML element SMALL</a> - small text style.
1022 * <p>
1023 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1024 * <p>
1025 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1026 */
1027 public static final String SMALL="small";
1028
1029 /**
1030 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/links.html#edef-LINK">HTML element source</a> - media source for video or audio.
1031 * <p>
1032 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
1033 */
1034 public static final String SOURCE="source";
1035
1036 /**
1037 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-SPAN">HTML element SPAN</a> - generic language/style container.
1038 * <p>
1039 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1040 */
1041 public static final String SPAN="span";
1042
1043 /**
1044 * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-STRIKE">HTML element STRIKE</a> - strike-through text.
1045 * <p>
1046 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1047 * <p>
1048 * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
1049 * (see {@link HTMLElements#getDeprecatedElementNames()})
1050 */
1051 public static final String STRIKE="strike";
1052
1053 /**
1054 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-STRONG">HTML element STRONG</a> - strong emphasis.
1055 * <p>
1056 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1057 * <p>
1058 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1059 */
1060 public static final String STRONG="strong";
1061
1062 /**
1063 * <a target="_blank" href="http://www.w3.org/TR/html401/present/styles.html#edef-STYLE">HTML element STYLE</a> - style info.
1064 * <p>
1065 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1066 */
1067 public static final String STYLE="style";
1068
1069 /**
1070 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-SUB">HTML element SUB</a> - subscript.
1071 * <p>
1072 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1073 * <p>
1074 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1075 */
1076 public static final String SUB="sub";
1077
1078 /**
1079 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-summary-element">HTML element summary</a> - caption for details.
1080 * <p>
1081 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1082 */
1083 public static final String SUMMARY="summary";
1084
1085 /**
1086 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-SUP">HTML element SUP</a> - superscript.
1087 * <p>
1088 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1089 * <p>
1090 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1091 */
1092 public static final String SUP="sup";
1093
1094 /**
1095 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-TABLE">HTML element TABLE</a> - table.
1096 * <p>
1097 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
1098 * <p>
1099 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1100 */
1101 public static final String TABLE="table";
1102
1103 /**
1104 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-TBODY">HTML element TBODY</a> - table body.
1105 * <p>
1106 * The start tag of this element is {@linkplain HTMLElements#getStartTagOptionalElementNames() optional}.
1107 * <p>
1108 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
1109 * <table class="CompactDL" cellspacing="0">
1110 * <tr>
1111 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
1112 * <td>{@link #TBODY}, {@link #TFOOT}, {@link #THEAD}
1113 * <tr>
1114 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
1115 * <td>{@link #TABLE}, {@link #TBODY}
1116 * <tr>
1117 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
1118 * <td>{@link #TABLE}
1119 * </table>
1120 * <p>
1121 * Note that the {@link #TFOOT} and {@link #THEAD} elements are included as
1122 * {@linkplain HTMLElements#getTerminatingStartTagNames(String) terminating start tags}, even though the
1123 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#h-11.2.3">HTML 4.01 specification section 11.2.3</a>
1124 * states that they must precede the {@link #TBODY} element inside a {@link #TABLE}.
1125 * Most browsers tolerate an incorrect ordering of the {@link #THEAD}, {@link #TFOOT} and {@link #TBODY} elements,
1126 * so this parser also recognises the elements in any order.
1127 */
1128 public static final String TBODY="tbody";
1129
1130 /**
1131 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-TD">HTML element TD</a> - table data cell.
1132 * <p>
1133 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
1134 * <table class="CompactDL" cellspacing="0">
1135 * <tr>
1136 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
1137 * <td>{@link #TBODY}, {@link #TD}, {@link #TFOOT}, {@link #TH}, {@link #THEAD}, {@link #TR}
1138 * <tr>
1139 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
1140 * <td>{@link #TABLE}, {@link #TBODY}, {@link #TD}, {@link #TFOOT}, {@link #THEAD}, {@link #TR}
1141 * <tr>
1142 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
1143 * <td>{@link #TABLE}
1144 * </table>
1145 */
1146 public static final String TD="td";
1147
1148 /**
1149 * <a target="_blank" href="http://www.w3.org/TR/html401/interact/forms.html#edef-TEXTAREA">HTML element TEXTAREA</a> - multi-line text field.
1150 * <p>
1151 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1152 * <p>
1153 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1154 */
1155 public static final String TEXTAREA="textarea";
1156
1157 /**
1158 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-TFOOT">HTML element TFOOT</a> - table footer.
1159 * <p>
1160 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
1161 * <table class="CompactDL" cellspacing="0">
1162 * <tr>
1163 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
1164 * <td>{@link #TBODY}, {@link #TFOOT}, {@link #THEAD}
1165 * <tr>
1166 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
1167 * <td>{@link #TABLE}, {@link #TFOOT}
1168 * <tr>
1169 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
1170 * <td>{@link #TABLE}
1171 * </table>
1172 */
1173 public static final String TFOOT="tfoot";
1174
1175 /**
1176 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-TH">HTML element TH</a> - table header cell.
1177 * <p>
1178 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
1179 * <table class="CompactDL" cellspacing="0">
1180 * <tr>
1181 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
1182 * <td>{@link #TBODY}, {@link #TD}, {@link #TFOOT}, {@link #TH}, {@link #THEAD}, {@link #TR}
1183 * <tr>
1184 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
1185 * <td>{@link #TABLE}, {@link #TBODY}, {@link #TFOOT}, {@link #TH}, {@link #THEAD}, {@link #TR}
1186 * <tr>
1187 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
1188 * <td>{@link #TABLE}
1189 * </table>
1190 */
1191 public static final String TH="th";
1192
1193 /**
1194 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-THEAD">HTML element THEAD</a> - table header.
1195 * <p>
1196 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
1197 * <table class="CompactDL" cellspacing="0">
1198 * <tr>
1199 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
1200 * <td>{@link #TBODY}, {@link #TFOOT}, {@link #THEAD}
1201 * <tr>
1202 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
1203 * <td>{@link #TABLE}, {@link #THEAD}
1204 * <tr>
1205 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
1206 * <td>{@link #TABLE}
1207 * </table>
1208 */
1209 public static final String THEAD="thead";
1210
1211 /**
1212 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-time-element">HTML element time</a> - date and/or time.
1213 * <p>
1214 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1215 * <p>
1216 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1217 */
1218 public static final String TIME="time";
1219
1220 /**
1221 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/global.html#edef-TITLE">HTML element TITLE</a> - document title.
1222 * <p>
1223 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1224 */
1225 public static final String TITLE="title";
1226
1227 /**
1228 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/tables.html#edef-TR">HTML element TR</a> - table row.
1229 * <p>
1230 * The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}:
1231 * <table class="CompactDL" cellspacing="0">
1232 * <tr>
1233 * <td title="Start tags that terminate this element"><a href="HTMLElements.html#getTerminatingStartTagNames(java.lang.String)">Terminating start tags</a>:
1234 * <td>{@link #TBODY}, {@link #TFOOT}, {@link #THEAD}, {@link #TR}
1235 * <tr>
1236 * <td title="End tags that terminate this element"><a href="HTMLElements.html#getTerminatingEndTagNames(java.lang.String)">Terminating end tags</a>:
1237 * <td>{@link #TABLE}, {@link #TBODY}, {@link #TFOOT}, {@link #THEAD}, {@link #TR}
1238 * <tr>
1239 * <td title="Elements that can be nested inside this element without terminating it"><a href="HTMLElements#getNonterminatingElementNames(java.lang.String)">Nonterminating elements</a>:
1240 * <td>{@link #TABLE}
1241 * </table>
1242 */
1243 public static final String TR="tr";
1244
1245 /**
1246 * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-TT">HTML element TT</a> - teletype or monospaced text style.
1247 * <p>
1248 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1249 * <p>
1250 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1251 */
1252 public static final String TT="tt";
1253
1254 /**
1255 * <a target="_blank" href="http://www.w3.org/TR/html401/present/graphics.html#edef-U">HTML element U</a> - underlined text style.
1256 * <p>
1257 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1258 * <p>
1259 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1260 * <p>
1261 * This element is <a target="blank" href="http://www.w3.org/TR/html401/conform.html#deprecated">deprecated</a> in HTML 4.01.
1262 * (see {@link HTMLElements#getDeprecatedElementNames()})
1263 */
1264 public static final String U="u";
1265
1266 /**
1267 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/lists.html#edef-UL">HTML element UL</a> - unordered list.
1268 * <p>
1269 * This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element.
1270 * <p>
1271 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1272 */
1273 public static final String UL="ul";
1274
1275 /**
1276 * <a target="_blank" href="http://www.w3.org/TR/html401/struct/text.html#edef-VAR">HTML element VAR</a> - instance of a variable or program argument.
1277 * <p>
1278 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1279 * <p>
1280 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1281 */
1282 public static final String VAR="var";
1283
1284 /**
1285 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-video-element">HTML element video</a> - video player.
1286 * <p>
1287 * The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}.
1288 */
1289 public static final String VIDEO="video";
1290
1291 /**
1292 * <a target="_blank" href="http://dev.w3.org/html5/spec/Overview.html#the-wbr-element">HTML element wbr</a> - line breaking opportunity.
1293 * <p>
1294 * This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element.
1295 * <p>
1296 * The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}.
1297 */
1298 public static final String WBR="wbr";
1299 }

   
Visit the aagtl Website