WoW:API SimpleHTML SetText: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
HTML form uses a subset of HTML (You seem to be able to have WoW markup in the data) with the following tags: | HTML form uses a subset of HTML (You seem to be able to have WoW markup in the data) with the following tags: | ||
HTML | <HTML> | ||
BODY | <BODY> | ||
Within the BODY tag, you can have: | Within the BODY tag, you can have: | ||
H1 | <H1> | ||
H2 | <H2> | ||
H3 | <H3> | ||
P | <P> | ||
BR | <BR> | ||
IMG | <IMG> | ||
H1, H2, H3, and P are identical unless you've specified header fonts in the XML for the frame. | H1, H2, H3, and P are identical unless you've specified header fonts in the XML for the frame. |
Revision as of 03:38, 27 April 2006
PLACEHOLDER CONTENT WHILE I WRITE A REAL PAGE:
Accepts content in one of two forms.. "HTML" and "Plain"..
Plain form is the normal WoW markup with pipe delimiters.
HTML form uses a subset of HTML (You seem to be able to have WoW markup in the data) with the following tags:
<HTML> <BODY>
Within the BODY tag, you can have: <H1> <H2> <H3> <P> <BR> <IMG>
H1, H2, H3, and P are identical unless you've specified header fonts in the XML for the frame.
Within H1, H2, H3 and P, you can have BR and A tags.
The P H1 H2 and H3 tags can have align attributes The IMG tag can have align, width, height, and src attributes.
I think most entities are supported, but I'm not sure. Non-ascii characters need to use the &#NNN; encoding (I think that's the right format)