See: Description
| Interface | Description |
|---|---|
| HTMLNode |
Basic interface that defines toHTML().
|
| Class | Description |
|---|---|
| Applet |
Represents an applet (<applet>) tag.
|
| Area |
Represents an image map area (<area>) tag.
|
| Body |
Represents a body (<body>) tag.
|
| Center |
Represents a center (<center>) tag.
|
| Col |
Table column (<col>) tag.
|
| Colgroup |
Table column group (<colgroup>) tag.
|
| Div |
Represents a div (<div>) tag.
|
| Em |
Represents an emphasis (<em>) tag.
|
| Form |
Represents a form (<form>) tag.
|
| Frame |
Represents a frame (<frame>) tag.
|
| Frameset |
Represents a frameset (<frameset>) tag.
|
| H1 |
Represents a heading (<h1>) tag.
|
| H2 |
Represents a heading (<h2>) tag.
|
| H3 |
Represents a heading (<h3>) tag.
|
| Head |
Represents a head (<head>) tag.
|
| Hr |
Represents a horizontal rule (<hr>) tag.
|
| HTML |
Represents an html (<html>) tag and also contains tag name constants.
|
| HTMLDoc |
Represents an HTML document.
|
| HTMLTag |
Base class for HTML elements.
|
| HTMLTagWithCoreEvents |
Base class for html elements that support the common mouse and keyboard events.
|
| HTMLTagWithFormEvents |
Base class for most html form elements.
|
| IEConditionalComment |
Conditional html comment for use with Internet Explorer.
|
| IFrame |
Represents an iframe (<iframe>) tag.
|
| ImageMap |
Represents an image map (<map>) tag.
|
| Img |
Represents a image (<img>) tag.
|
| InputButton |
Represents a button form element (<input type='button'>) tag.
|
| InputCheckbox |
Represents a checkbox form element (<input type='checkbox'>) tag.
|
| InputFile |
Represents a file upload form element (<input type='file'>) tag.
|
| InputHidden |
Represents a hidden form element (<input type='hidden'>) tag.
|
| InputPassword |
Represents a password form element (<input type='password'>) tag.
|
| InputRadio |
Represents a radio form element (<input type='radio'>) tag.
|
| InputReset |
Represents a reset form element (<input type='reset'>) tag.
|
| InputSubmit |
Represents a submit form element (<input type='submit'>) tag.
|
| InputText |
Represents a text input form element (<input type='text'>) tag.
|
| Label |
Represents a label (<label>) tag.
|
| Li |
Represents a list item (<li>) tag.
|
| Link |
Represents a link (<a>) tag.
|
| Meta |
Represents a meta (<meta>) tag.
|
| Nobr |
Represents a no break (<nobr>) tag.
|
| ObjectTag |
Represents an object (<object>) tag.
|
| Ol |
Represents an ordered list (<ol>) tag.
|
| OptGroup |
Represents an option group (<optgroup>) tag.
|
| Option |
Represents a list option (<option>) tag.
|
| P |
Represents a paragraph (<p>) tag.
|
| Param |
Represents a param (<param>) tag.
|
| Pre |
Represents a pre (<pre>) tag.
|
| Script |
Represents a script (<script>) tag.
|
| Select |
Represents an html select (<select>) tag.
|
| Span |
Represents a span (<span>) tag.
|
| StyleTag |
Represents an HTML style (<style>) tag.
|
| Table |
Represents a table (<table>) tag.
|
| TBody |
Represents a table body (<tbody>) tag.
|
| Td |
Represents a table cell (<td>) tag.
|
| Textarea |
Represents a textarea (<textarea>) tag.
|
| TFoot |
Represents a table footer (<tfoot>) tag.
|
| Th |
Represents a table header cell (<th>) tag.
|
| THead |
Represents a table header (<thead>) tag.
|
| Tr |
Represents a table row (<tr>) tag.
|
| Ul |
Represents an unordered list (<ul>) tag.
|
| Exception | Description |
|---|---|
| HTMLParseException |
Indicates that an error was encountered during HTML parsing.
|
HTMLDoc doc = new HTMLDoc();
doc.setDoctype(Doctype.XHTML_1_0_TRANSITIONAL);
HTML html = (HTML) doc.getRootNode();
html.getBody().addDiv("Hello World!").setStyle(CSS.BOLD);
jataylor@hairyfatguy.com