Announcement

Collapse
No announcement yet.

XHTML validation.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DarkDelight.net
    replied
    Originally posted by Chen
    You can't put an <a> tag anywhere you want, it has to be inside one of the tags the parser mentioned.
    Thanks Chen

    Worked 100%

    <div><a name="top" id="top"></a></div>

    :happybunny:

    Leave a comment:


  • DarkDelight.net
    replied
    Originally posted by merk
    do you need "top" links in XHTML?

    maybe <div name="top" />?

    Thank you.

    I now have 2 errors.

    Line 14, column 10: there is no attribute "name" (explain...).
    <div name="top" />

    Line 75, column 14: document type does not allow element "a" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
    <a href="#top">Top</a>

    Leave a comment:


  • Chen
    replied
    You can't put an <a> tag anywhere you want, it has to be inside one of the tags the parser mentioned.

    Leave a comment:


  • tgillespie
    replied
    I don't use it much, but when I do templates for other people I usually run the pages through this program.

    http://www.bykeyword.com/pages/detai...load-3892.html

    Leave a comment:


  • merk
    replied
    do you need "top" links in XHTML?

    maybe <div name="top" />?

    Leave a comment:


  • DarkDelight.net
    started a topic XHTML validation.

    XHTML validation.

    I' ve got my home page down to 1 error in xhtml 1.0 strict.

    Line 14, column 22: document type does not allow element "a" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
    <a name="top" id="top"></a>
    What is this and how do I fix it?

    Thanks.

Related Topics

Collapse

Working...
X