The ASPxHtmlEditor control provides different ways to validate, filter, and correct its content.
The editor automatically performs validation and is able to remove all potentially harmful code.
Content Element Filtering
The editor provides you with the ability to filter content elements. You can specify filter rules for tags, attributes, and style attributes.
The editor provides the capability to automatically format the pasted HTML content.
The editor allows you to provide custom HTML markup validation logic. In addition, you can enable content validation, which can be performed on the client and the server.