Widget: SimpleHTML

From AddOn Studio
Jump to navigation Jump to search

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>

Supported Plain Mode Escape Sequences

See UI Escape Sequences

Also See