liveBook · Manning

W3C Markup Validation Service

As explained in WordPress Power Toolkit: Harness AI to build next-level websites

The W3C Markup Validation Service is a web service that checks HTML documents for conformance errors.

A link that looks right may still contain a small HTML error. The W3C Markup Validation Service can help you find it by checking the page and reporting problems in its markup. section 3.5.2

To check a link:

  • Copy the page’s permalink and paste it into https://validator.w3.org/. section 3.5.2
  • Read any reported errors, correct the HTML, and check the page again. section 3.5.2

A quotation mark that breaks a link

If the opening quotation mark around a link’s URL is missing, the validator reports an unquoted attribute. Adding the mark fixes that error. It can also flag curly quotation marks where the HTML needs straight ones. section 3.5.2

Validation can describe bugs in your HTML code.

See how a validation message describes a bug in HTML code. section 3.5.2

How WordPress Power Toolkit: Harness AI to build next-level websites covers it

How deep it goes
Shows how to submit a permalink and interpret specific errors, without detailing validation rules.
Examples
Uses page links with a missing quotation mark and curly quotation marks to illustrate validator messages.
What it assumes
Uses existing website pages and their permalinks while explaining an unquoted HTML attribute through an error.
What you can do after
Diagnose/debug with it by checking a page permalink and correcting reported HTML link errors.
How it connects
Connects HTML hyperlinks, attributes, quotation marks, and WordPress permalinks.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of WordPress Power Toolkit: Harness AI to build next-level websites. The section links point to the parts of the book it draws on.