Check page markup

Catch markup mistakes before publishing.

Check a new page for HTML markup issues, read the reported messages and return to the source to fix them. Use the local XML check when it fits the document.

HTML Designer Mac workspace
HTMLcheck with the W3C service
Issuesreview errors and warnings
Sourcejump to reported locations
XMLcheck well-formedness locally
Check page markup

Check the code after a page edit.

You added a section and want to catch markup problems. Run validation, inspect each message and correct the relevant source.

What you can do

Use it on your own website.

Check a page’s markup, fix the reported issues and review the result before publishing.

Check a new HTML section

Send the active HTML to the online W3C validator and review its messages.

Check XML content locally

Use As XML to check XML-style content locally for well-formedness.

Return to the source and fix it

Use the results alongside the editor, then run the check again after corrections.

Getting started

Make this update.

You added a section and want to catch markup problems. Run validation, inspect each message and correct the relevant source.

  1. Choose the document — Open the HTML or XML-style document to check.
  2. Run validation — Review the reported messages for the active source.
  3. Correct and check again — Fix relevant issues and inspect the rendered page.

Read the step-by-step guide →

Useful details

Questions about this task.

Check how this works with your project and hosting.

Does validation send my document online?

The W3C check sends the active source to the online validator and needs a connection. As XML runs locally, but checks XML well-formedness rather than HTML conformance.

Does a clean result mean the website is ready in every respect?

No. Markup validation does not test every link, script, screen size or accessibility requirement. Review the page and its interactions as part of your publishing workflow.