Experience Editor does not work with invalid HTML markup


The Experience Editor might stop working correctly and not allow editing item fields on the content pages that generate invalid HTML markup.

A few examples of such markup:


To resolve such issues, you must avoid using styling tags in nested components and invalid HTML markup overall. To ensure that Sitecore items generate valid HTML markup, use HTML validation in Microsoft Visual Studio or W3C Markup Validation Service.