# Uses of Class
javax.swing.text.html.HTML.Attribute

Packages that use HTML.Attribute
Package
Description
javax.swing.text.html
Provides the class `HTMLEditorKit` and supporting classes for creating HTML text editors.

## Uses of HTML.Attribute in javax.swing.text.html

Fields in javax.swing.text.html declared as HTML.Attribute
Modifier and Type
Field
Description
`static HTML.Attribute`
HTML.Attribute.`ACTION`
Attribute "action"
`static HTML.Attribute`
HTML.Attribute.`ALIGN`
Attribute "align"
`static HTML.Attribute`
HTML.Attribute.`ALINK`
Attribute "alink"
`static HTML.Attribute`
HTML.Attribute.`ALT`
Attribute "alt"
`static HTML.Attribute`
HTML.Attribute.`ARCHIVE`
Attribute "archive"
`static HTML.Attribute`
HTML.Attribute.`BACKGROUND`
Attribute "background"
`static HTML.Attribute`
HTML.Attribute.`BGCOLOR`
Attribute "bgcolor"
`static HTML.Attribute`
HTML.Attribute.`BORDER`
Attribute "border"
`static HTML.Attribute`
HTML.Attribute.`CELLPADDING`
Attribute "cellpadding"
`static HTML.Attribute`
HTML.Attribute.`CELLSPACING`
Attribute "cellspacing"
`static HTML.Attribute`
HTML.Attribute.`CHECKED`
Attribute "checked"
`static HTML.Attribute`
HTML.Attribute.`CLASS`
Attribute "class"
`static HTML.Attribute`
HTML.Attribute.`CLASSID`
Attribute "classid"
`static HTML.Attribute`
HTML.Attribute.`CLEAR`
Attribute "clear"
`static HTML.Attribute`
HTML.Attribute.`CODE`
Attribute "code"
`static HTML.Attribute`
HTML.Attribute.`CODEBASE`
Attribute "codebase"
`static HTML.Attribute`
HTML.Attribute.`CODETYPE`
Attribute "codetype"
`static HTML.Attribute`
HTML.Attribute.`COLOR`
Attribute "color"
`static HTML.Attribute`
HTML.Attribute.`COLS`
Attribute "cols"
`static HTML.Attribute`
HTML.Attribute.`COLSPAN`
Attribute "colspan"
`static HTML.Attribute`
HTML.Attribute.`COMMENT`
Attribute "comment"
`static HTML.Attribute`
HTML.Attribute.`COMPACT`
Attribute "compact"
`static HTML.Attribute`
HTML.Attribute.`CONTENT`
Attribute "content"
`static HTML.Attribute`
HTML.Attribute.`COORDS`
Attribute "coords"
`static HTML.Attribute`
HTML.Attribute.`DATA`
Attribute "data"
`static HTML.Attribute`
HTML.Attribute.`DECLARE`
Attribute "declare"
`static HTML.Attribute`
HTML.Attribute.`DIR`
Attribute "dir"
`static HTML.Attribute`
HTML.Attribute.`DUMMY`
Attribute "dummy"
`static HTML.Attribute`
HTML.Attribute.`ENCTYPE`
Attribute "enctype"
`static HTML.Attribute`
HTML.Attribute.`ENDTAG`
Attribute "endtag"
`static HTML.Attribute`
HTML.Attribute.`FACE`
Attribute "face"
`static HTML.Attribute`
HTML.Attribute.`FRAMEBORDER`
Attribute "frameborder"
`static HTML.Attribute`
HTML.Attribute.`HALIGN`
Attribute "halign"
`static HTML.Attribute`
HTML.Attribute.`HEIGHT`
Attribute "height"
`static HTML.Attribute`
HTML.Attribute.`HREF`
Attribute "href"
`static HTML.Attribute`
HTML.Attribute.`HSPACE`
Attribute "hspace"
`static HTML.Attribute`
HTML.Attribute.`HTTPEQUIV`
Attribute "http-equiv"
`static HTML.Attribute`
HTML.Attribute.`ID`
Attribute "id"
`static HTML.Attribute`
HTML.Attribute.`ISMAP`
Attribute "ismap"
`static HTML.Attribute`
HTML.Attribute.`LANG`
Attribute "lang"
`static HTML.Attribute`
HTML.Attribute.`LANGUAGE`
Attribute "language"
`static HTML.Attribute`
HTML.Attribute.`LINK`
Attribute "link"
`static HTML.Attribute`
HTML.Attribute.`LOWSRC`
Attribute "lowsrc"
`static HTML.Attribute`
HTML.Attribute.`MARGINHEIGHT`
Attribute "marginheight"
`static HTML.Attribute`
HTML.Attribute.`MARGINWIDTH`
Attribute "marginwidth"
`static HTML.Attribute`
HTML.Attribute.`MAXLENGTH`
Attribute "maxlength"
`static HTML.Attribute`
HTML.Attribute.`METHOD`
Attribute "method"
`static HTML.Attribute`
HTML.Attribute.`MULTIPLE`
Attribute "multiple"
`static HTML.Attribute`
HTML.Attribute.`N`
Attribute "n"
`static HTML.Attribute`
HTML.Attribute.`NAME`
Attribute "name"
`static HTML.Attribute`
HTML.Attribute.`NOHREF`
Attribute "nohref"
`static HTML.Attribute`
HTML.Attribute.`NORESIZE`
Attribute "noresize"
`static HTML.Attribute`
HTML.Attribute.`NOSHADE`
Attribute "noshade"
`static HTML.Attribute`
HTML.Attribute.`NOWRAP`
Attribute "nowrap"
`static HTML.Attribute`
HTML.Attribute.`PROMPT`
Attribute "prompt"
`static HTML.Attribute`
HTML.Attribute.`REL`
Attribute "rel"
`static HTML.Attribute`
HTML.Attribute.`REV`
Attribute "rev"
`static HTML.Attribute`
HTML.Attribute.`ROWS`
Attribute "rows"
`static HTML.Attribute`
HTML.Attribute.`ROWSPAN`
Attribute "rowspan"
`static HTML.Attribute`
HTML.Attribute.`SCROLLING`
Attribute "scrolling"
`static HTML.Attribute`
HTML.Attribute.`SELECTED`
Attribute "selected"
`static HTML.Attribute`
HTML.Attribute.`SHAPE`
Attribute "shape"
`static HTML.Attribute`
HTML.Attribute.`SHAPES`
Attribute "shapes"
`static HTML.Attribute`
HTML.Attribute.`SIZE`
Attribute "size"
`static HTML.Attribute`
HTML.Attribute.`SRC`
Attribute "src"
`static HTML.Attribute`
HTML.Attribute.`STANDBY`
Attribute "standby"
`static HTML.Attribute`
HTML.Attribute.`START`
Attribute "start"
`static HTML.Attribute`
HTML.Attribute.`STYLE`
Attribute "style"
`static HTML.Attribute`
HTML.Attribute.`TARGET`
Attribute "target"
`static HTML.Attribute`
HTML.Attribute.`TEXT`
Attribute "text"
`static HTML.Attribute`
HTML.Attribute.`TITLE`
Attribute "title"
`static HTML.Attribute`
HTML.Attribute.`TYPE`
Attribute "type"
`static HTML.Attribute`
HTML.Attribute.`USEMAP`
Attribute "usemap"
`static HTML.Attribute`
HTML.Attribute.`VALIGN`
Attribute "valign"
`static HTML.Attribute`
HTML.Attribute.`VALUE`
Attribute "value"
`static HTML.Attribute`
HTML.Attribute.`VALUETYPE`
Attribute "valuetype"
`static HTML.Attribute`
HTML.Attribute.`VERSION`
Attribute "version"
`static HTML.Attribute`
HTML.Attribute.`VLINK`
Attribute "vlink"
`static HTML.Attribute`
HTML.Attribute.`VSPACE`
Attribute "vspace"
`static HTML.Attribute`
HTML.Attribute.`WIDTH`
Attribute "width"
Methods in javax.swing.text.html that return HTML.Attribute
Modifier and Type
Method
Description
`static HTML.Attribute[]`
HTML.`getAllAttributeKeys()`
Returns the set of HTML attributes recognized.
`static HTML.Attribute`
HTML.`getAttributeKey​(String attName)`
Fetches an attribute constant for a well-known attribute name (i.e. one of the attributes in the set {FACE, COMMENT, SIZE, COLOR, CLEAR, BACKGROUND, BGCOLOR, TEXT, LINK, VLINK, ALINK, WIDTH, HEIGHT, ALIGN, NAME, HREF, REL, REV, TITLE, TARGET, SHAPE, COORDS, ISMAP, NOHREF, ALT, ID, SRC, HSPACE, VSPACE, USEMAP, LOWSRC, CODEBASE, CODE, ARCHIVE, VALUE, VALUETYPE, TYPE, CLASS, STYLE, LANG, DIR, DECLARE, CLASSID, DATA, CODETYPE, STANDBY, BORDER, SHAPES, NOSHADE, COMPACT, START, ACTION, METHOD, ENCTYPE, CHECKED, MAXLENGTH, MULTIPLE, SELECTED, ROWS, COLS, DUMMY, CELLSPACING, CELLPADDING, VALIGN, HALIGN, NOWRAP, ROWSPAN, COLSPAN, PROMPT, HTTPEQUIV, CONTENT, LANGUAGE, VERSION, N, FRAMEBORDER, MARGINWIDTH, MARGINHEIGHT, SCROLLING, NORESIZE, MEDIA, ENDTAG}).
Methods in javax.swing.text.html with parameters of type HTML.Attribute
Modifier and Type
Method
Description
`static int`
HTML.`getIntegerAttributeValue​(AttributeSet attr, HTML.Attribute key, int def)`
Fetches an integer attribute value.