Skip to main content

HTML Support Limitations: Supported and Unsupported Tags

  • 2 minutes to read

Supported HTML Tags

The table below lists HTML tags that the RichEditDocumentServer supports. External links are processed for inline pictures and style sheets (CSS files). The ID and Class attributes are interpreted for all tags, including the unlisted tags. These attributes specify a style applied to a document part defined by a specific tag.

Tag Attributes Notes
a dir
b dir
background-color The tag specifies the ParagraphPropertiesBase.BackColor property.
base
basefont size
color
face
dir
big dir
blockquote dir
br dir
center dir
code dir
del cite
datetime
div page-break-before
page-break-after
page-break-inside
background-color
border (CSS)
dir
Only the always property value is supported for the page-break-before tag.
em dir
font size
color
face
dir
h1-h6 align
dir
Specify a paragraph’s Paragraph.OutlineLevel property to mark text in an HTML output with H1 - H6 tags. Paragraphs with outline levels higher than 6 are exported as text enclosed in a P tag.
head
html
hr align
color
noshade
size
width
i dir
ins cite
datetime
img align
src
height
width
If the align attribute is not specified, the image is considered as inline.
li type
value
dir
link href
type
media
dir
meta
ol type
value
align
dir
p align
dir
line-height
small
span
strike dir
strong dir
style
sub dir
sup dir
table align
bgcolor
border
bordercolor
cellpadding
cellspacing
dir
width
The dir attribute reorders table columns and applies the table indent (specified by the Indent property) to the right side of the table.
td align
bgcolor
bordercolor
colspan
height
nowrap
rowspan
text-align
valign
width
The align tag is supported in Internet Explorer only. The bgcolor attribute specifies the TableCellPropertiesBase.NoWrap property value.
The RichEditDocumentServer interprets the bordercolor attribute differently from an HTML browser.
th any allowed
tr align
bgcolor
bordercolor
height
text-align
valign
The align attribute is supported in Internet Explorer only.
u dir
ul dir

Unsupported HTML Tags

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