Discussions

I'm not really all that savvy with HTML and such, but I figured I'd make an attempt at validating the code in my self-hosted wordpress blog. So I checked it with W3C and it found 87 errors in the HTML.

Now, it seems some of the errors are hiding, and I have no clue how to find them. For example, the code that W3C shows me has an error in a url, but the php file in my blog just has "?php bloginfo('template_url'); ?" instead and no url is visible. So how do I fix that...?

Reply

User Comments

  1. Rozie818
    If you right click on your page and view source, you'll see:
    page_item page-item-227
    page_item page-item-54
    These is a link without text in the link bracket.
    Top Links
    1. Rainhat
      Ok, I see it. Not sure what to do about it, though... What's it supposed to say? a href=? I'm not that great at html...
  2. Rozie818
    It's an incomplete link
    You need text to complete the link
    look at the link below them where you have contact

    copy and paste it into an editor, so you can check through the whole page to see if others are incomplete.
    Best way to learn coding is to learn how to read it.

    www.w3schools.com/HTML/html_links.asp
    1. Rainhat
      alrighty. Thanks!
  3. Rozie818
    No problem
    also validate you css files while you're at it
    jigsaw.w3.org/css-validator/
    1. Rainhat
      Yup, already did that. The CSS is good.
  4. Timesobserver
    One thing that I noticed is that sometimes when you validate a page and it says that line 247 is wrong but you look at it and it's right, it can be the line or two before it that's wrong.

    It's a bit odd but it happens from time to time.
    1. Rainhat
      I figured that making sure all the code was valid would be a good way of ensuring that everything on the page would work in most browsers, but it seems to be the opposite...? I changed a few things and made the code more valid, but the content stopped working. Hm... I´m tempted to just give up and call it good enough.
  5. Rozie818
    Browsers suck, been bitching about them for years. No reason why they can't read a web page the same way.
    One reason why I still use tables in most of my web pages. Better containment and better control.
    I have been a member of compuserve since 1999, and they use netscape as a browser, even compuserve pages come up a mess, but I normally test all of my sites in CS, if it works there it works any where.

Add Your Comment

Login to leave a message.