- java.lang.Object
-
- com.itextpdf.text.html.HtmlTags
-
public class HtmlTags extends java.lang.ObjectA class that contains all the possible tagnames and their attributes.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringALIGNattribute of paragraph/image/table tagstatic java.lang.StringALIGN_BASELINEthe possible value of an alignment attributestatic java.lang.StringALIGN_BOTTOMthe possible value of an alignment attributestatic java.lang.StringALIGN_CENTERthe possible value of an alignment attributestatic java.lang.StringALIGN_JUSTIFIEDthe possible value of an alignment attributestatic java.lang.StringALIGN_LEFTthe possible value of an alignment attributestatic java.lang.StringALIGN_MIDDLEthe possible value of an alignment attributestatic java.lang.StringALIGN_RIGHTthe possible value of an alignment attributestatic java.lang.StringALIGN_TOPthe possible value of an alignment attributestatic java.lang.StringALTattribute of the image tagstatic java.lang.StringANCHORthe anchor tagstatic java.lang.StringAUTHORattribute of the root tagstatic java.lang.StringBsome phrase tagstatic java.lang.StringBACKGROUNDCOLORattribute of the table/cell tagstatic java.lang.StringBODYthe body tag.static java.lang.StringBORDERCOLORattribute of the table/cell tagstatic java.lang.StringBORDERWIDTHattribute of the table/cell tagstatic java.lang.StringBOTTOMattribute of the table/cell tagstatic java.lang.StringBOTTOMMARGINThis is a possible HTML attribute for the BODY tag.static java.lang.StringCELLthe cell tagstatic java.lang.StringCELLPADDINGattribute of the table tagstatic java.lang.StringCELLSPACINGattribute of the table tagstatic java.lang.StringCHUNKthe chunk tagstatic java.lang.StringCODEthe phrase tagstatic java.lang.StringCOLORattribute of the chunk/table/cell tagstatic java.lang.StringCOLSPANattribute of the cell tagstatic java.lang.StringCOLUMNSattribute of the table tagstatic java.lang.StringCONTENTThis is a possible HTML attribute for the HEAD tag.static java.lang.StringDEFAULTthe possible value of an alignment attributestatic java.lang.StringDIVThe DIV tag.static java.lang.StringEMsome phrase tagstatic java.lang.StringFONTattribute of the chunk tagstatic java.lang.String[]Hattribute of anchor tagstatic java.lang.StringHEADthe head tagstatic java.lang.StringHEADERCELLattribute of the cell tagstatic java.lang.StringHORIZONTALALIGNattribute of the cell tagstatic java.lang.StringHORIZONTALRULEthe possible value of a tagstatic java.lang.StringHTMLthe root tag.static java.lang.StringIsome phrase tagstatic java.lang.StringIMAGEthe image tagstatic java.lang.StringJAVASCRIPTThis is a possible value for the LANGUAGE attribute.static java.lang.StringJAVASCRIPT_ONLOADThis is a possible HTML attribute for the BODY tagstatic java.lang.StringJAVASCRIPT_ONUNLOADThis is a possible HTML attribute for the BODY tagstatic java.lang.StringKEYWORDSattribute of the root tagstatic java.lang.StringLANGUAGEThis is a possible HTML attribute for the SCRIPT tag.static java.lang.StringLEFTattribute of chapter/section/paragraph/table/cell tagstatic java.lang.StringLEFTMARGINThis is a possible HTML attribute for the BODY tag.static java.lang.StringLINKThe LINK tag.static java.lang.StringLISTITEMthe listitem tagstatic java.lang.StringMETAthe meta tagstatic java.lang.StringNAMEattribute of anchor tagstatic java.lang.StringNEWLINEthe newpage tagstatic java.lang.StringNOWRAPattribute of the cell tagstatic java.lang.StringORDEREDLISTthe list tagstatic java.lang.StringPARAGRAPHthe paragraph tagstatic java.lang.StringPLAINHEIGHTattribute of the image tagstatic java.lang.StringPLAINWIDTHattribute of the image tagstatic java.lang.StringPREThis is a possible HTML attribute for auto-formatedstatic java.lang.StringREFERENCEattribute of anchor tagstatic java.lang.StringRELThis is a possible HTML attribute for the LINK tag.static java.lang.StringRIGHTattribute of chapter/section/paragraph/table/cell tagstatic java.lang.StringRIGHTMARGINThis is a possible HTML attribute for the BODY tag.static java.lang.StringROWthe cell tagstatic java.lang.StringROWSPANattribute of the cell tagstatic java.lang.StringSsome phrase tagstatic java.lang.StringSCRIPTthe script tag.static java.lang.StringSIZEattribute of the chunk tagstatic java.lang.StringSPANThe SPAN tag.static java.lang.StringSTRONGsome phrase tagstatic java.lang.StringSTYLEThis is used for inline css style informationstatic java.lang.StringSTYLESHEETThis is a possible HTML attribute.static java.lang.StringSUBsome phrase tagstatic java.lang.StringSUBJECTattribute of the root tagstatic java.lang.StringSUPsome phrase tagstatic java.lang.StringTABLEthe table tagstatic java.lang.StringTEXT_CSSThis is a possible HTML attribute for the LINK tag.static java.lang.StringTITLEthe title tag.static java.lang.StringTOPattribute of the table/cell tagstatic java.lang.StringTOPMARGINThis is a possible HTML attribute for the BODY tag.static java.lang.StringTYPEThis is a possible HTML attribute for the LINK tag.static java.lang.StringUsome phrase tagstatic java.lang.StringUNORDEREDLISTthe list tagstatic java.lang.StringURLattribute of the image tagstatic java.lang.StringVARthe phrase tagstatic java.lang.StringVERTICALALIGNattribute of the cell tagstatic java.lang.StringWIDTHattribute of the table/cell tag
-
Constructor Summary
Constructors Constructor Description HtmlTags()
-
-
-
Field Detail
-
HTML
public static final java.lang.String HTML
the root tag.- See Also:
- Constant Field Values
-
HEAD
public static final java.lang.String HEAD
the head tag- See Also:
- Constant Field Values
-
CONTENT
public static final java.lang.String CONTENT
This is a possible HTML attribute for the HEAD tag.- See Also:
- Constant Field Values
-
META
public static final java.lang.String META
the meta tag- See Also:
- Constant Field Values
-
SUBJECT
public static final java.lang.String SUBJECT
attribute of the root tag- See Also:
- Constant Field Values
-
KEYWORDS
public static final java.lang.String KEYWORDS
attribute of the root tag- See Also:
- Constant Field Values
-
AUTHOR
public static final java.lang.String AUTHOR
attribute of the root tag- See Also:
- Constant Field Values
-
TITLE
public static final java.lang.String TITLE
the title tag.- See Also:
- Constant Field Values
-
SCRIPT
public static final java.lang.String SCRIPT
the script tag.- See Also:
- Constant Field Values
-
LANGUAGE
public static final java.lang.String LANGUAGE
This is a possible HTML attribute for the SCRIPT tag.- See Also:
- Constant Field Values
-
JAVASCRIPT
public static final java.lang.String JAVASCRIPT
This is a possible value for the LANGUAGE attribute.- See Also:
- Constant Field Values
-
BODY
public static final java.lang.String BODY
the body tag.- See Also:
- Constant Field Values
-
JAVASCRIPT_ONLOAD
public static final java.lang.String JAVASCRIPT_ONLOAD
This is a possible HTML attribute for the BODY tag- See Also:
- Constant Field Values
-
JAVASCRIPT_ONUNLOAD
public static final java.lang.String JAVASCRIPT_ONUNLOAD
This is a possible HTML attribute for the BODY tag- See Also:
- Constant Field Values
-
TOPMARGIN
public static final java.lang.String TOPMARGIN
This is a possible HTML attribute for the BODY tag.- See Also:
- Constant Field Values
-
BOTTOMMARGIN
public static final java.lang.String BOTTOMMARGIN
This is a possible HTML attribute for the BODY tag.- See Also:
- Constant Field Values
-
LEFTMARGIN
public static final java.lang.String LEFTMARGIN
This is a possible HTML attribute for the BODY tag.- See Also:
- Constant Field Values
-
RIGHTMARGIN
public static final java.lang.String RIGHTMARGIN
This is a possible HTML attribute for the BODY tag.- See Also:
- Constant Field Values
-
CHUNK
public static final java.lang.String CHUNK
the chunk tag- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
the phrase tag- See Also:
- Constant Field Values
-
VAR
public static final java.lang.String VAR
the phrase tag- See Also:
- Constant Field Values
-
ANCHOR
public static final java.lang.String ANCHOR
the anchor tag- See Also:
- Constant Field Values
-
ORDEREDLIST
public static final java.lang.String ORDEREDLIST
the list tag- See Also:
- Constant Field Values
-
UNORDEREDLIST
public static final java.lang.String UNORDEREDLIST
the list tag- See Also:
- Constant Field Values
-
LISTITEM
public static final java.lang.String LISTITEM
the listitem tag- See Also:
- Constant Field Values
-
PARAGRAPH
public static final java.lang.String PARAGRAPH
the paragraph tag- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
attribute of anchor tag- See Also:
- Constant Field Values
-
REFERENCE
public static final java.lang.String REFERENCE
attribute of anchor tag- See Also:
- Constant Field Values
-
H
public static final java.lang.String[] H
attribute of anchor tag
-
FONT
public static final java.lang.String FONT
attribute of the chunk tag- See Also:
- Constant Field Values
-
SIZE
public static final java.lang.String SIZE
attribute of the chunk tag- See Also:
- Constant Field Values
-
COLOR
public static final java.lang.String COLOR
attribute of the chunk/table/cell tag- See Also:
- Constant Field Values
-
EM
public static final java.lang.String EM
some phrase tag- See Also:
- Constant Field Values
-
I
public static final java.lang.String I
some phrase tag- See Also:
- Constant Field Values
-
STRONG
public static final java.lang.String STRONG
some phrase tag- See Also:
- Constant Field Values
-
B
public static final java.lang.String B
some phrase tag- See Also:
- Constant Field Values
-
S
public static final java.lang.String S
some phrase tag- See Also:
- Constant Field Values
-
U
public static final java.lang.String U
some phrase tag- See Also:
- Constant Field Values
-
SUB
public static final java.lang.String SUB
some phrase tag- See Also:
- Constant Field Values
-
SUP
public static final java.lang.String SUP
some phrase tag- See Also:
- Constant Field Values
-
HORIZONTALRULE
public static final java.lang.String HORIZONTALRULE
the possible value of a tag- See Also:
- Constant Field Values
-
TABLE
public static final java.lang.String TABLE
the table tag- See Also:
- Constant Field Values
-
ROW
public static final java.lang.String ROW
the cell tag- See Also:
- Constant Field Values
-
CELL
public static final java.lang.String CELL
the cell tag- See Also:
- Constant Field Values
-
HEADERCELL
public static final java.lang.String HEADERCELL
attribute of the cell tag- See Also:
- Constant Field Values
-
COLUMNS
public static final java.lang.String COLUMNS
attribute of the table tag- See Also:
- Constant Field Values
-
CELLPADDING
public static final java.lang.String CELLPADDING
attribute of the table tag- See Also:
- Constant Field Values
-
CELLSPACING
public static final java.lang.String CELLSPACING
attribute of the table tag- See Also:
- Constant Field Values
-
COLSPAN
public static final java.lang.String COLSPAN
attribute of the cell tag- See Also:
- Constant Field Values
-
ROWSPAN
public static final java.lang.String ROWSPAN
attribute of the cell tag- See Also:
- Constant Field Values
-
NOWRAP
public static final java.lang.String NOWRAP
attribute of the cell tag- See Also:
- Constant Field Values
-
BORDERWIDTH
public static final java.lang.String BORDERWIDTH
attribute of the table/cell tag- See Also:
- Constant Field Values
-
WIDTH
public static final java.lang.String WIDTH
attribute of the table/cell tag- See Also:
- Constant Field Values
-
BACKGROUNDCOLOR
public static final java.lang.String BACKGROUNDCOLOR
attribute of the table/cell tag- See Also:
- Constant Field Values
-
BORDERCOLOR
public static final java.lang.String BORDERCOLOR
attribute of the table/cell tag- See Also:
- Constant Field Values
-
ALIGN
public static final java.lang.String ALIGN
attribute of paragraph/image/table tag- See Also:
- Constant Field Values
-
LEFT
public static final java.lang.String LEFT
attribute of chapter/section/paragraph/table/cell tag- See Also:
- Constant Field Values
-
RIGHT
public static final java.lang.String RIGHT
attribute of chapter/section/paragraph/table/cell tag- See Also:
- Constant Field Values
-
HORIZONTALALIGN
public static final java.lang.String HORIZONTALALIGN
attribute of the cell tag- See Also:
- Constant Field Values
-
VERTICALALIGN
public static final java.lang.String VERTICALALIGN
attribute of the cell tag- See Also:
- Constant Field Values
-
TOP
public static final java.lang.String TOP
attribute of the table/cell tag- See Also:
- Constant Field Values
-
BOTTOM
public static final java.lang.String BOTTOM
attribute of the table/cell tag- See Also:
- Constant Field Values
-
IMAGE
public static final java.lang.String IMAGE
the image tag- See Also:
- Constant Field Values
-
URL
public static final java.lang.String URL
attribute of the image tag- See Also:
ElementTags.SRC, Constant Field Values
-
ALT
public static final java.lang.String ALT
attribute of the image tag- See Also:
- Constant Field Values
-
PLAINWIDTH
public static final java.lang.String PLAINWIDTH
attribute of the image tag- See Also:
- Constant Field Values
-
PLAINHEIGHT
public static final java.lang.String PLAINHEIGHT
attribute of the image tag- See Also:
- Constant Field Values
-
NEWLINE
public static final java.lang.String NEWLINE
the newpage tag- See Also:
- Constant Field Values
-
ALIGN_LEFT
public static final java.lang.String ALIGN_LEFT
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_CENTER
public static final java.lang.String ALIGN_CENTER
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_RIGHT
public static final java.lang.String ALIGN_RIGHT
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_JUSTIFIED
public static final java.lang.String ALIGN_JUSTIFIED
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_TOP
public static final java.lang.String ALIGN_TOP
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_MIDDLE
public static final java.lang.String ALIGN_MIDDLE
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_BOTTOM
public static final java.lang.String ALIGN_BOTTOM
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
ALIGN_BASELINE
public static final java.lang.String ALIGN_BASELINE
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
DEFAULT
public static final java.lang.String DEFAULT
the possible value of an alignment attribute- See Also:
- Constant Field Values
-
DIV
public static final java.lang.String DIV
The DIV tag.- See Also:
- Constant Field Values
-
SPAN
public static final java.lang.String SPAN
The SPAN tag.- See Also:
- Constant Field Values
-
LINK
public static final java.lang.String LINK
The LINK tag.- See Also:
- Constant Field Values
-
TEXT_CSS
public static final java.lang.String TEXT_CSS
This is a possible HTML attribute for the LINK tag.- See Also:
- Constant Field Values
-
REL
public static final java.lang.String REL
This is a possible HTML attribute for the LINK tag.- See Also:
- Constant Field Values
-
STYLE
public static final java.lang.String STYLE
This is used for inline css style information- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
This is a possible HTML attribute for the LINK tag.- See Also:
- Constant Field Values
-
STYLESHEET
public static final java.lang.String STYLESHEET
This is a possible HTML attribute.- See Also:
- Constant Field Values
-
PRE
public static final java.lang.String PRE
This is a possible HTML attribute for auto-formated- Since:
- 2.1.3
- See Also:
- Constant Field Values
-
-