The following is a list of all of the HTML tags that can be used with the RichText control. Unsupported tags will be ignored. Please note that W3C conventions are strictly observed.
Tag | Comment | Attributes |
---|---|---|
<B> | Bold | none |
<I> | Italic | none |
<P> | Paragraph | align, style |
<STRONG> | Strong (looks like bold) | none |
<BIG> | Big | none |
<SMALL> | Small | none |
<PRE> | Preformatted | none |
<FONT> | Font | face, size, color, style (see notes for style attributes) |
<BODY> | The body tag | background, text, leftmargin |
<H1> - <H6> | Heading levels one through six | none |
<BR> | Line break | none |
<EM> | Emphasized (looks like Italics) | none |
<U> | Underlined | none |
<IMG> | Image | align, height, src, width |
<SUP> | Superscript | none |
<SUB> | Subscript | none |
<CENTER> | Center alignment | none |
<TABLE> | Table | align, border, cellpadding, cellspacing, height, style, width |
<TR> | Table row | align |
<TH> | Table head | none |
<TD> | Table datum | align, border, colspan, rowspan, width |
<LI> | List item | none (nesting levels yield disc, circle, square bullets) |
<OL> | Ordered list | type |
<UL> | Unordered list | type, value |
<STRIKE> | Strike through | none |
The style attributes of <FONT>, <P>, and <TABLE> support the following properties: |
|
|
|