Skip to main content
A newer version of this page is available. .

HTML Tag Support

  • 2 minutes to read

Supported Tags

The table below lists HTML tags supported by the RichEditControl. External links are currently processed for inline pictures and style sheets (css files). The ID and Class attributes are interpreted for all tags, including the unlisted ones. These attributes are used to specify a style applied to the document part defined by a certain tag.

Tag

Attribute(s)

Notes

a

b

base

basefront

size

color

face

big

blockquote

br

center

code

div

page-break-before

page-break-after

page-break-inside

background-color

Only if set to always.

Only if set to avoid.

Only if set to avoid.

font

size

color

face

hr

h1-h6

align

head

html

i

img

align

scr

height

width

If not specified, the image is considered as inline.

li

type

value

link

href

type

media

meta

ol

type

value

align

script

Text inside this tag is ignored.

small

span

strike

strong

style

sub

sup

table

align

bgcolor

border

bordercolor

cellpadding

cellspacing

width

td

align

bgcolor

bordercolor

colspan

height

nowrap

rowspan

valing

width

Supported in the Internet Explorer only.

Sets the TableCellPropertiesBase.NoWrap property.

RichEditControl’s interpretation of this attribute is different from the HTML browser.

th

any allowed

tr

align

bgcolor

bordercolor

height

valign

Supported in the Internet Explorer only.

title

Text inside this tag is ignored.

u

ui

Unsupported Tags:

  • <base> tag with href attribute;
  • <div> tag with border, float and align css attributes;
  • <li> tag with list-style-image css attribute;
  • <margin> tag;
  • <tab> tag;
  • <table> tag with cols attribute;
  • <td> tab with bordercolor and nowrap attributes;
  • !important declaration;
  • word-wrap and break-word css properties;
  • css3 shapes;
  • <ui> tag with type attribute.
See Also