All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.java.net.htmlparser.jericho.HTMLElementName Maven / Gradle / Ivy

Go to download

Jericho HTML Parser is a java library allowing analysis and manipulation of parts of an HTML document, including server-side tags, while reproducing verbatim any unrecognised or invalid HTML.

There is a newer version: 3.4
Show newest version
// Jericho HTML Parser - Java based library for analysing and manipulating HTML
// Version 3.1
// Copyright (C) 2004-2009 Martin Jericho
// http://jericho.htmlparser.net/
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of either one of the following licences:
//
// 1. The Eclipse Public License (EPL) version 1.0,
// included in this distribution in the file licence-epl-1.0.html
// or available at http://www.eclipse.org/legal/epl-v10.html
//
// 2. The GNU Lesser General Public License (LGPL) version 2.1 or later,
// included in this distribution in the file licence-lgpl-2.1.txt
// or available at http://www.gnu.org/licenses/lgpl.txt
//
// This library is distributed on an "AS IS" basis,
// WITHOUT WARRANTY OF ANY KIND, either express or implied.
// See the individual licence texts for more details.

package net.htmlparser.jericho;

import java.util.*;

/**
 * Contains static fields representing the {@linkplain Element#getName() names} of
 * all elements defined in the HTML 4.01 specification.
 * 

* All of the name strings are in lower case. *

* The {@link HTMLElements} class is closely related to this interface, containing static methods which group these names * by the characteristics of their associated elements. *

* This interface does not specify any methods, but can be inherited by other classes, or statically imported (Java 5.0), * to provide less verbose access to the contained element name static fields. *

* The field values in this interface can be used as name arguments in named tag searches. *

* Note that since the Tag class implements HTMLElementName, all the constants defined in this interface * can be referred to via the Tag class. *
For example, Tag.BODY is equivalent to HTMLElementName.BODY. * * @see HTMLElements * @see Element */ public interface HTMLElementName { /** * HTML element A - anchor. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String A="a"; /** * HTML element ABBR - abbreviated form (e.g., WWW, HTTP, etc.). *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String ABBR="abbr"; /** * HTML element ACRONYM - acronym. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String ACRONYM="acronym"; /** * HTML element ADDRESS - information on author. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String ADDRESS="address"; /** * HTML element APPLET - Java applet. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. *

* This element is deprecated in HTML 4.01. * (see {@link HTMLElements#getDeprecatedElementNames()}) */ public static final String APPLET="applet"; /** * HTML element AREA - client-side image map area. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}. */ public static final String AREA="area"; /** * HTML element B - bold text style. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String B="b"; /** * HTML element BASE - document base URI. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}. */ public static final String BASE="base"; /** * HTML element BASEFONT - base font size. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}. *

* This element is deprecated in HTML 4.01. * (see {@link HTMLElements#getDeprecatedElementNames()}) */ public static final String BASEFONT="basefont"; /** * HTML element BDO - I18N BiDi over-ride. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String BDO="bdo"; /** * HTML element BIG - large text style. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String BIG="big"; /** * HTML element BLOCKQUOTE - long quotation. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String BLOCKQUOTE="blockquote"; /** * HTML element BODY - document body. *

* The start tag of this element is {@linkplain HTMLElements#getStartTagOptionalElementNames() optional}. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}: *

* * * *
Terminating start tags: * (none) *
Terminating end tags: * {@link #BODY}, {@link #HTML} *
Nonterminating elements: * {@link #HTML} *
*

* Note that the {@link #HTML} element is included as a * {@linkplain HTMLElements#getNonterminatingElementNames(String) nonterminating element} in case the source contains * (illegaly) nested HTML elements. */ public static final String BODY="body"; /** * HTML element BR - forced line break. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}. */ public static final String BR="br"; /** * HTML element BUTTON - push button. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String BUTTON="button"; /** * HTML element CAPTION - table caption. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String CAPTION="caption"; /** * HTML element CENTER - shorthand for DIV align=center. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. *

* This element is deprecated in HTML 4.01. * (see {@link HTMLElements#getDeprecatedElementNames()}) */ public static final String CENTER="center"; /** * HTML element CITE - citation. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String CITE="cite"; /** * HTML element CODE - computer code fragment. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String CODE="code"; /** * HTML element COL - table column. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}. */ public static final String COL="col"; /** * HTML element COLGROUP - table column group. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}: *

* * * *
Terminating start tags: * {@link #COLGROUP}, {@link #TBODY}, {@link #TFOOT}, {@link #THEAD}, {@link #TR} *
Terminating end tags: * {@link #COLGROUP}, {@link #TABLE} *
Nonterminating elements: * {@link #TABLE} *
*/ public static final String COLGROUP="colgroup"; /** * HTML element DD - definition description. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}: *

* * * *
Terminating start tags: * {@link #DD}, {@link #DT} *
Terminating end tags: * {@link #DD}, {@link #DL} *
Nonterminating elements: * {@link #DL} *
*/ public static final String DD="dd"; /** * HTML element DEL - deleted text. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String DEL="del"; /** * HTML element DFN - instance definition. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String DFN="dfn"; /** * HTML element DIR - directory list. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. *

* This element is deprecated in HTML 4.01. * (see {@link HTMLElements#getDeprecatedElementNames()}) */ public static final String DIR="dir"; /** * HTML element DIV - generic language/style container. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. */ public static final String DIV="div"; /** * HTML element DL - definition list. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. */ public static final String DL="dl"; /** * HTML element DT - definition term. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}: *

* * * *
Terminating start tags: * {@link #DD}, {@link #DT} *
Terminating end tags: * {@link #DL}, {@link #DT} *
Nonterminating elements: * {@link #DL} *
*/ public static final String DT="dt"; /** * HTML element EM - emphasis. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String EM="em"; /** * HTML element FIELDSET - form control group. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String FIELDSET="fieldset"; /** * HTML element FONT - local change to font. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. *

* This element is deprecated in HTML 4.01. * (see {@link HTMLElements#getDeprecatedElementNames()}) */ public static final String FONT="font"; /** * HTML element FORM - interactive form. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String FORM="form"; /** * HTML element FRAME - subwindow. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}. */ public static final String FRAME="frame"; /** * HTML element FRAMESET - window subdivision. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String FRAMESET="frameset"; /** * HTML element H1 - heading. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String H1="h1"; /** * HTML element H2 - heading. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String H2="h2"; /** * HTML element H3 - heading. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String H3="h3"; /** * HTML element H4 - heading. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String H4="h4"; /** * HTML element H5 - heading. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String H5="h5"; /** * HTML element H6 - heading. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String H6="h6"; /** * HTML element HEAD - document head. *

* The start tag of this element is {@linkplain HTMLElements#getStartTagOptionalElementNames() optional}. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}: *

* * * *
Terminating start tags: * {@link #BODY}, {@link #FRAMESET} *
Terminating end tags: * {@link #HEAD}, {@link #HTML} *
Nonterminating elements: * (none) *
*/ public static final String HEAD="head"; /** * HTML element HR - horizontal rule. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}. */ public static final String HR="hr"; /** * HTML element HTML - document root element. *

* The start tag of this element is {@linkplain HTMLElements#getStartTagOptionalElementNames() optional}. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}: *

* * * *
Terminating start tags: * (none) *
Terminating end tags: * {@link #HTML} *
Nonterminating elements: * {@link #HTML} *
*

* Note that the {@link #HTML} element is included as a * {@linkplain HTMLElements#getNonterminatingElementNames(String) nonterminating element} in case the source contains * (illegaly) nested HTML elements. */ public static final String HTML="html"; /** * HTML element I - italic text style. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String I="i"; /** * HTML element IFRAME - inline subwindow. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String IFRAME="iframe"; /** * HTML element IMG - Embedded image. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}. */ public static final String IMG="img"; /** * HTML element INPUT - form control. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}. */ public static final String INPUT="input"; /** * HTML element INS - inserted text. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String INS="ins"; /** * HTML element ISINDEX - single line prompt. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}. *

* This element is deprecated in HTML 4.01. * (see {@link HTMLElements#getDeprecatedElementNames()}) */ public static final String ISINDEX="isindex"; /** * HTML element KBD - text to be entered by the user. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String KBD="kbd"; /** * HTML element LABEL - form field label text. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String LABEL="label"; /** * HTML element LEGEND - fieldset legend. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String LEGEND="legend"; /** * HTML element LI - list item. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}: *

* * * *
Terminating start tags: * {@link #LI} *
Terminating end tags: * {@link #LI}, {@link #OL}, {@link #UL} *
Nonterminating elements: * {@link #OL}, {@link #UL} *
*/ public static final String LI="li"; /** * HTML element LINK - a media-independent link. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}. */ public static final String LINK="link"; /** * HTML element MAP - client-side image map. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String MAP="map"; /** * HTML element MENU - menu list. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. *

* This element is deprecated in HTML 4.01. * (see {@link HTMLElements#getDeprecatedElementNames()}) */ public static final String MENU="menu"; /** * HTML element META - generic metainformation. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}. */ public static final String META="meta"; /** * HTML element NOFRAMES - alternate content container for non frame-based rendering. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String NOFRAMES="noframes"; /** * HTML element NOSCRIPT - alternate content container for non script-based rendering. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String NOSCRIPT="noscript"; /** * HTML element OBJECT - generic embedded object. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String OBJECT="object"; /** * HTML element OL - ordered list. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String OL="ol"; /** * HTML element OPTGROUP - option group. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String OPTGROUP="optgroup"; /** * HTML element OPTION - selectable choice. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}: *

* * * *
Terminating start tags: * {@link #OPTGROUP}, {@link #OPTION} *
Terminating end tags: * {@link #OPTION}, {@link #SELECT} *
Nonterminating elements: * (none) *
*/ public static final String OPTION="option"; /** * HTML element P - paragraph. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}: *

* * * *
Terminating start tags: * {@linkplain HTMLElements#getBlockLevelElementNames() All block-level element names},
* {@link #DD}, {@link #DT}, {@link #LI}, {@link #TD}, {@link #TH} *
Terminating end tags: * {@linkplain HTMLElements#getBlockLevelElementNames() All block-level element names},
* {@link #BODY}, {@link #CAPTION}, {@link #DD}, {@link #DT}, {@link #HTML}, {@link #LEGEND}, {@link #TD}, {@link #TH}, * {@link #TBODY}, {@link #TFOOT}, {@link #THEAD}, {@link #TR} *
Nonterminating elements: * (none) *
*

* The definition of this element in the HTML 4.01 specification * explicitly states that the P element cannot contain {@linkplain HTMLElements#getBlockLevelElementNames() block-level} * elements. * Despite this, all of the popular browsers (in at least some modes of operation) allow P elements to enclose * {@link #TABLE} elements, which are also block-level elements. *

* It is possible to make this parser compatible with this incorrect behaviour by executing the following code: *

	 * {@link HTMLElements#getTerminatingStartTagNames(String) HTMLElements.getTerminatingStartTagNames}(HTMLElementName.P).remove(HTMLElementName.TABLE);
	 * {@link HTMLElements#getNonterminatingElementNames(String) HTMLElements.getNonterminatingElementNames}(HTMLElementName.P).add(HTMLElementName.TABLE);
*/ public static final String P="p"; /** * HTML element PARAM - named property value. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagForbiddenElementNames() forbidden}. */ public static final String PARAM="param"; /** * HTML element PRE - preformatted text. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String PRE="pre"; /** * HTML element Q - short inline quotation. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String Q="q"; /** * HTML element S - strike-through text style. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. *

* This element is deprecated in HTML 4.01. * (see {@link HTMLElements#getDeprecatedElementNames()}) */ public static final String S="s"; /** * HTML element SAMP - sample program output, scripts, etc.. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String SAMP="samp"; /** * HTML element SCRIPT - script statements. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String SCRIPT="script"; /** * HTML element SELECT - option selector. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String SELECT="select"; /** * HTML element SMALL - small text style. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String SMALL="small"; /** * HTML element SPAN - generic language/style container. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. */ public static final String SPAN="span"; /** * HTML element STRIKE - strike-through text. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* This element is deprecated in HTML 4.01. * (see {@link HTMLElements#getDeprecatedElementNames()}) */ public static final String STRIKE="strike"; /** * HTML element STRONG - strong emphasis. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String STRONG="strong"; /** * HTML element STYLE - style info. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String STYLE="style"; /** * HTML element SUB - subscript. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String SUB="sub"; /** * HTML element SUP - superscript. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String SUP="sup"; /** * HTML element TABLE - table. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String TABLE="table"; /** * HTML element TBODY - table body. *

* The start tag of this element is {@linkplain HTMLElements#getStartTagOptionalElementNames() optional}. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}: *

* * * *
Terminating start tags: * {@link #TBODY}, {@link #TFOOT}, {@link #THEAD} *
Terminating end tags: * {@link #TABLE}, {@link #TBODY} *
Nonterminating elements: * {@link #TABLE} *
*

* Note that the {@link #TFOOT} and {@link #THEAD} elements are included as * {@linkplain HTMLElements#getTerminatingStartTagNames(String) terminating start tags}, even though the * HTML 4.01 specification section 11.2.3 * states that they must precede the {@link #TBODY} element inside a {@link #TABLE}. * Most browsers tolerate an incorrect ordering of the {@link #THEAD}, {@link #TFOOT} and {@link #TBODY} elements, * so this parser also recognises the elements in any order. */ public static final String TBODY="tbody"; /** * HTML element TD - table data cell. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}: *

* * * *
Terminating start tags: * {@link #TBODY}, {@link #TD}, {@link #TFOOT}, {@link #TH}, {@link #THEAD}, {@link #TR} *
Terminating end tags: * {@link #TABLE}, {@link #TBODY}, {@link #TD}, {@link #TFOOT}, {@link #THEAD}, {@link #TR} *
Nonterminating elements: * {@link #TABLE} *
*/ public static final String TD="td"; /** * HTML element TEXTAREA - multi-line text field. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. */ public static final String TEXTAREA="textarea"; /** * HTML element TFOOT - table footer. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}: *

* * * *
Terminating start tags: * {@link #TBODY}, {@link #TFOOT}, {@link #THEAD} *
Terminating end tags: * {@link #TABLE}, {@link #TFOOT} *
Nonterminating elements: * {@link #TABLE} *
*/ public static final String TFOOT="tfoot"; /** * HTML element TH - table header cell. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}: *

* * * *
Terminating start tags: * {@link #TBODY}, {@link #TD}, {@link #TFOOT}, {@link #TH}, {@link #THEAD}, {@link #TR} *
Terminating end tags: * {@link #TABLE}, {@link #TBODY}, {@link #TFOOT}, {@link #TH}, {@link #THEAD}, {@link #TR} *
Nonterminating elements: * {@link #TABLE} *
*/ public static final String TH="th"; /** * HTML element THEAD - table header. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}: *

* * * *
Terminating start tags: * {@link #TBODY}, {@link #TFOOT}, {@link #THEAD} *
Terminating end tags: * {@link #TABLE}, {@link #THEAD} *
Nonterminating elements: * {@link #TABLE} *
*/ public static final String THEAD="thead"; /** * HTML element TITLE - document title. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String TITLE="title"; /** * HTML element TR - table row. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagOptionalElementNames() optional}: *

* * * *
Terminating start tags: * {@link #TBODY}, {@link #TFOOT}, {@link #THEAD}, {@link #TR} *
Terminating end tags: * {@link #TABLE}, {@link #TBODY}, {@link #TFOOT}, {@link #THEAD}, {@link #TR} *
Nonterminating elements: * {@link #TABLE} *
*/ public static final String TR="tr"; /** * HTML element TT - teletype or monospaced text style. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. */ public static final String TT="tt"; /** * HTML element U - underlined text style. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. *

* This element is deprecated in HTML 4.01. * (see {@link HTMLElements#getDeprecatedElementNames()}) */ public static final String U="u"; /** * HTML element UL - unordered list. *

* This is a {@linkplain HTMLElements#getBlockLevelElementNames() block-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String UL="ul"; /** * HTML element VAR - instance of a variable or program argument. *

* This is an {@linkplain HTMLElements#getInlineLevelElementNames() inline-level} element. *

* The end tag of this element is {@linkplain HTMLElements#getEndTagRequiredElementNames() required}. */ public static final String VAR="var"; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy