• I am used to validating html on sites and pages I write from scratch, and if there are occasional warnings or errors, they are easily fixed. But trying to validate the pages on my new WordPress/CommentPress site, I am confronted with a torrent of errors and warnings, practically all originating from native WP components. Am I doing something wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Where are you testing and what are the error? What are the WP components?

    Thread Starter papaworx

    (@papaworx)

    https://validator.w3.org/ (suggested on WordPress website)

    here are the first few:
    Consider avoiding viewport values that prevent users from resizing documents.
    <meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no” />?<meta

    Element div not allowed as child of element span in this context. (Suppressing further errors from this subtree.)

    From line 578, column 1; to line 578, column 129

    a></span>?<div style=”padding-top: 20px; width: 600px; font-family: DejaVu Serif; font-size: 20px; line-height: 100%; text-align: center;”><img c

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Validating WorPress pages’ is closed to new replies.