Edit online

When opening an HTML document in Author mode, if it is not XML well-formed, you will see a warning message at the top of the editor explaining that once you make a modification, the document will be automatically converted to proper XML structure (XHTML structure). Examples of things that are automatically converted include:
  • Missing end tags are added to applicable elements.
  • Empty tags are closed.
  • Missing quote characters are added to applicable attributes.
Tip: It is also possible to manually convert an HTML document to be XML well-formed. This is achieved by right-clicking anywhere in the main editor for an open HTML document and selecting HTML to XML Well-formed. This results in unclosed tags being properly closed, unquoted attribute values being quoted, and more. This is helpful if, for example, you use XSLT stylesheets while applying transformations on HTML documents (since the transformation will require the HTML document to be XML well-formed).