Support » Your WordPress » Validating xHTML problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hehehe try me, I have 400 “errors” and counting

    what do you mean by “validated each file”? You validate your site as it’s shown on the validator results page. How do you validate the different files?

    basically, each file is validated through the validation, a permalink is validated and the whole site is validated.

    @dustyhawk: What is so hard to understand in the XHTML validators output?

    Error Line 305, column 20: end tag for “em” omitted, but OMITTAG NO was specified .
    <p><em>Hi Serge,</p>

    It should be
    <p><em>Hi Serge,</em></p>

    dustyhawk: When you are writing something in WP within some html tag, you need to make sure you don’t break it across lines while typing it in.

    For instance, saying
    <small>blah blah blah </small>
    <small>blah blah blah</small>

    will work fine.

    But when you type in,
    <small>blah blah blah

    blah blah blah</small>
    (which seems reasonable, like you’d done with the <em>), WP adds additional paragraph breaks/line breaks in between these lines causing your file to be invalid html.

    As in what was typed above becomes,
    <p><small>blah blah blah</p>

    <p>blah blah blah</small></p>

    leaving hanging <small> tags. Hope that made sense.


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Validating xHTML problem.’ is closed to new replies.