WoW:UIOBJECT SimpleHTML: Difference between revisions
Jump to navigation
Jump to search
({{widget}}) |
|||
Line 1: | Line 1: | ||
{{widget}} | {{widget}} | ||
{{Stub/API}} | {{Stub/API}} | ||
==Supported HTML Mode Markup== | |||
If arguments are in square brackets, this means that they are optional. | |||
===Basic elements=== | |||
* <tt><HTML></tt> | |||
* <tt><BODY></tt> | |||
Where the HTML element must be provided and must contain the BODY element. | |||
The BODY element can contain block elements. | |||
===Block elements=== | |||
* <tt><H1 [align="left|center|right"]></tt> | |||
* <tt><H2 [align="left|center|right"]></tt> | |||
* <tt><H3 [align="left|center|right"]></tt> | |||
* <tt><P [align="left|center|right"]></tt> | |||
Block elements can contain other block elements, inline elements and plain text. | |||
===Inline elements=== | |||
* <tt><A href="linkId"></tt> | |||
* <tt><IMG src="imageSource" [width="x" height="y"]/></tt> | |||
* <tt><BR/></tt> | |||
Inline elements can contain other inline elements and plain text. | |||
===Example=== | |||
<HTML><BODY> | |||
<H1>Foo</H1> | |||
<P> | |||
Bar<BR/> | |||
with stripes. | |||
</P> | |||
</BODY></HTML> | |||
==Supported Plain Mode Escape Sequences== | |||
See [[UI Escape Sequences]] | |||
==Also See== | |||
* [[UI Escape Sequences]] |
Revision as of 21:51, 16 July 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.
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.
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>