HtmlFormatting

Kind of class:class
Inherits from:none
Version:17 Mar 2005
Classpath:HtmlFormatting
File last modified:Thursday, 28 December 2006, 00:40:11
Html formatting. This text is formatted with the option "preserve linebreaks".
You can use the following HTML tags:
  • a
  • abbr
  • address
  • acronym
  • b
  • big
  • blockquote
  • br
  • center
  • cite
  • code
  • del
  • dfn
  • div
  • em
  • font
  • h
  • hr
  • i
  • img
  • ins
  • kbd
  • li
  • ol
  • p
  • pre
  • s
  • samp
  • small
  • span
  • strike
  • strong
  • sub
  • sup
  • table
  • td
  • th
  • tr
  • tt
  • u
  • ul
  • var
Example:
  • HTML formatting test


    This text is formatted with the option "preserve linebreaks" off
    This text is formatted with the option "preserve linebreaks"


    This is a line of text with CSS tags: highlight marker and extra attention

    New paragraph text. Link to Google.

    Inside a blockquote
    italic underline
    Code formatting for ActionScript examples
    address
    center this text
    a table:
    table cell
    green font
Usage:
  • XML formatting is preserved as long as it doesn't use HTML tags:
    <?xml version="1.0" encoding="utf-8" ?> 
    <days>
        <subscription>8-8-2004</subscription>
    </days>
    If you use HTML tags inside XML, its safer to use the @code tag:
    <?xml version="1.0" encoding="utf-8" ?>
    <address>
    <big>8-8-2004</big>
    </address>
    </code>