HTMLElement interface. These elements are as follows: HEAD
special: SUB, SUP, SPAN, BDO font: TT, I, B, U, S, STRIKE, BIG, SMALL
phrase: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ACRONYM, ABBR list:
DD, DT NOFRAMES, NOSCRIPT ADDRESS, CENTER The style attribute
of an HTML element is accessible through the
ElementCSSInlineStyle interface which is defined in the .
See also the Document Object Model (DOM) Level 2 Specification.
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | getDir()
Specifies the base direction of directionally neutral text and the directionality of tables. |
| public String | |
| public String | |
| public String | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| getClassName | back to summary |
|---|---|
| public String getClassName() The class attribute of the element. This attribute has been renamed due to conflicts with the "class" keyword exposed by many languages. See the class attribute definition in HTML 4.0. | |
| getDir | back to summary |
|---|---|
| public String getDir() Specifies the base direction of directionally neutral text and the directionality of tables. See the dir attribute definition in HTML 4.0. | |
| getId | back to summary |
|---|---|
| public String getId() The element's identifier. See the id attribute definition in HTML 4.0. | |
| getLang | back to summary |
|---|---|
| public String getLang() Language code defined in RFC 1766. See the lang attribute definition in HTML 4.0. | |
| getTitle | back to summary |
|---|---|
| public String getTitle() The element's advisory title. See the title attribute definition in HTML 4.0. | |
| setClassName | back to summary |
|---|---|
| public void setClassName(String className) | |
| setDir | back to summary |
|---|---|
| public void setDir(String dir) | |
| setId | back to summary |
|---|---|
| public void setId(String id) | |
| setLang | back to summary |
|---|---|
| public void setLang(String lang) | |
| setTitle | back to summary |
|---|---|
| public void setTitle(String title) | |