[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Collapse]Rich Text Editor
   [Expand]Product Information
    Product Class Structure
    Supported Formats
   [Expand]Getting Started
   [Expand]RichEditControl Document
   [Expand]Fields
    Text Formatting
    Import and Export
   [Expand]Page Layout
    Printing
    Spell Checking
    AutoCorrect
    Mail Merge
    Restrictions and Protection
    Syntax Highlighting
   [Expand]Visual Elements
    Services
    Events
    Commands
    Keyboard Shortcuts
    HTML Tag Support
   [Expand]Examples
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

HTML Tag Support

Expanded 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

basefont

size

color

face

big

blockquote

br

center

code

div

page-break-before

page-break-after

page-break-inside

background-color

border (css)

Only if set to always.

Only if set to avoid.

Only if set to avoid.

font

size

color

face

h1-h6

align

Sets the Paragraph.OutlineLevel property.

Paragraphs with outline levels higher than 6 are exported as text enclosed in a P tag.

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

valign

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

Expanded Unsupported Tags

  • <base> tag with href attribute;
  • <div> tag with align and float css attribute;
  • <hr> tag;
  • <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.

Expanded See Also

Is this topic helpful?​​​​​​​