The W3C Markup Validation Service helps find HTML mistakes that can stop a link from working. Paste a page permalink into the validator, read its error report, then correct the flagged code. section 3.5.2
Use it when a hyperlink behaves unexpectedly:
- Proofread first for missing symbols or incorrect quotation marks. section 3.5.2
- Paste the affected page’s permalink into the service. section 3.5.2
- Use the report to locate and fix the error, such as an unquoted attribute or curly quotation marks. section 3.5.2
Fixing a broken link
A link with its first quotation mark omitted was reported as having an unquoted attribute. The validator also flagged curly quotation marks, making both fixes clear. section 3.5.2
Validation can describe bugs in your HTML code.
The validation result illustrates how an HTML bug can be described for correction. section 3.5.2
