WoW:UIOBJECT SimpleHTML: Difference between revisions
Jump to navigation
Jump to search
(→Basic elements: added display information) |
|||
Line 9: | Line 9: | ||
Where the HTML element must be provided and must contain the BODY element. | Where the HTML element must be provided and must contain the BODY element. | ||
The BODY element can contain block elements. | The BODY element can contain block elements. Anything not contained within a block element is not displayed. | ||
===Block elements=== | ===Block elements=== | ||
Line 16: | Line 16: | ||
* <tt><H3 [align="left|center|right"]></tt> | * <tt><H3 [align="left|center|right"]></tt> | ||
* <tt><P [align="left|center|right"]></tt> | * <tt><P [align="left|center|right"]></tt> | ||
Block elements can contain other block elements, inline elements and plain text. | Block elements can contain other block elements, inline elements and plain text. However other block elements will not be rendered (they will still be checked for valid html). | ||
===Inline elements=== | ===Inline elements=== |
Revision as of 18:12, 23 September 2006
← Widget API < SimpleHTML
Supported HTML Mode Markup
If arguments are in square brackets, this means that they are optional.
Basic elements
- <HTML>
- <BODY>
Where the HTML element must be provided and must contain the BODY element.
The BODY element can contain block elements. Anything not contained within a block element is not displayed.
Block elements
- <H1 [align="left|center|right"]>
- <H2 [align="left|center|right"]>
- <H3 [align="left|center|right"]>
- <P [align="left|center|right"]>
Block elements can contain other block elements, inline elements and plain text. However other block elements will not be rendered (they will still be checked for valid html).
Inline elements
- <A href="linkId">
- <IMG src="imageSource" [width="x" height="y"]/>
- <BR/>
Inline elements can contain other inline elements and plain text.
Example
<HTML><BODY> <H1>Foo</H1> <P> Bar<BR/> with stripes. </P> </BODY></HTML>