AI agents: the content index is at /llms.txt. Every page is also available as Markdown — send the request header Accept: text/markdown, or append .md to the page URL.
Xperience Docs

Cookie consent

We use necessary cookies (opens in a new tab) to run our website and improve your experience while browsing. Additional cookies are only used with your consent. You may revoke your consent on the Cookies Policy (opens in a new tab) page or in your browser at any time.

Configure (opens in a new tab)
  • Documentation
    InstallationUsing the Xperience interfaceDeveloping websitesConfiguring XperienceManaging usersSecuring websitesDeploying websitesManaging website contentMultilingual websitesMacro expressionsExternal utilitiesIntegrating 3rd party systemsCustom developmentE-commerce featuresOn-line marketing featuresRelease notes - Xperience 13Xperience terminology glossary
  • Tutorial
    Using the Xperience interfaceDeveloper tutorialBusiness tutorialResource hub for marketers
  • API Examples
    ConfigurationContent managementDevelopmentE-commerceOn-line marketingSocial media
  1. Home
  2. Developing websites
  3. Validating website code and accessibility
  4. Validating HTML code

Validating HTML code


Was this page helpful?

Send us feedback Go back to top
  • Community Questions & Answers (opens in a new tab)
  • Contact support (opens in a new tab)

The system allows you to check the HTML validity of page code. Validation is always performed against the version of HTML declared in the validated code.

To validate a page's HTML:

Warning: During validation, your data is sent to an external 3rd party validation service. If you have sensitive, non‑public content, we recommend using other types of validation.

  1. Open the Pages application.
  2. Select the page in the content tree.
  3. Switch to the Preview mode.
  4. Open the Validate -> HTML tab.
  5. Click Validate.

If the validator finds issues in the page's HTML code, the page displays a list. You can see the following information for each issue:

  • Line - the line number of the HTML code on which the issue appears.
  • Column - the column of the HTML code (i.e. number of characters from the beginning of the respective line) where the issue appears.
  • Error message - message describing the validity issue.
  • Source - extract of the part of the code where the validity issue appears.

Note: If you navigate to another page in preview mode using links on the displayed pages, and then switch to the Validate tab, the system still validates the page selected in the content tree.