Support » Fixing WordPress » Blogroll (links) Widget bombs out on http://validator.w3.org/

  • Resolved doc_holiday

    (@doc_holiday)


    For the fun of it, I thought I would try to validate my website with http://validator.w3.org/

    I cleaned up a number of errors, but was a bit surprised to find some errors surrounding the widget which generates my blogroll links. Has anyone ever seen these before and have you fixed it? As it has to do with a built in widget rather than any of my customisation, I am not even sure where to start to look to fix this.

    TIA.

    – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

    # Error Line 420, Column 8: ID “links” already defined.

    <li id=”links” class=”widget widget_links”><h2 class=”widgettitle”>Sites I visit

    An “id” is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
    # Info Line 409, Column 9: ID “links” first defined here.

    <li id=”links” class=”widget widget_links”><h2 class=”widgettitle”>Also See…<

    # Error Line 435, Column 8: ID “links” already defined.

    <li id=”links” class=”widget widget_links”><h2 class=”widgettitle”>YWAM Linkage<

    An “id” is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
    # Info Line 409, Column 9: ID “links” first defined here.

    <li id=”links” class=”widget widget_links”><h2 class=”widgettitle”>Also See…<

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blogroll (links) Widget bombs out on http://validator.w3.org/’ is closed to new replies.