What does validating my site mean?

Discussion in 'HTML & Website Design' started by iowadawg, Apr 5, 2006.

  1. #1
    Need a clear, concise (read:an old man can understand) answer as to what validating a site mean?
    How do I validate a site once I know what it means?

    Thank you for your help.
    Only good karma will flow to those with the good answers.
     
    iowadawg, Apr 5, 2006 IP
  2. SEO Guru

    SEO Guru Peon

    Messages:
    1,117
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Validating basically means making the code more cleaner and abiding it by the norms set by w3c, It means making it more XHTML compliant. You can check your site's validation on the w3c validation site validator.w3.org/,
    They give proper hints on how to and where to clean the code.
    Validating helps in making the site more IE friendly and also other browsers, it doesnt helps in firefox much, and also helps in indexing of the site by the search engine crawlers.
     
    SEO Guru, Apr 5, 2006 IP
  3. iowadawg

    iowadawg Prominent Member

    Messages:
    10,918
    Likes Received:
    811
    Best Answers:
    0
    Trophy Points:
    380
    #3
    Now why do I have two blogs, each wordpress.
    One is validated excellently.
    The other has like 150 validation errors?
    Back to the drawing boards on blog 1, as blog 2 is excellent.

    Thank you seoguru....
    good karma (hey, you know karma?) is flowing now across the oceans to you.
     
    iowadawg, Apr 5, 2006 IP
  4. SEO Guru

    SEO Guru Peon

    Messages:
    1,117
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can post the urls here, i'll see whats the problem with, and also tell you if you need to worry about it or not :D.

    Btw Yeah Karma is a Hindi Term :), it means Works by Us (Good or bad)
    N IMO on DP Karma refers to repping. :) Thanks
     
    SEO Guru, Apr 5, 2006 IP
  5. iowadawg

    iowadawg Prominent Member

    Messages:
    10,918
    Likes Received:
    811
    Best Answers:
    0
    Trophy Points:
    380
    #5
    World's oldest religion.
    Just some trivia I picked up by not going to church.

    Just the blog shown next to my avatar.

    Have another site, but that one will wait a bit until I get all the files over on this computer so I can update the site.

    Thank you.
     
    iowadawg, Apr 5, 2006 IP
  6. battra

    battra Peon

    Messages:
    120
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Are you using 2 different templates? Most probably the template author or you missed a couple of slash when writing or customizing the template. That happens a lot to me. Like SEOGuru said, post your URL here so we can help you :)
     
    battra, Apr 5, 2006 IP
  7. iowadawg

    iowadawg Prominent Member

    Messages:
    10,918
    Likes Received:
    811
    Best Answers:
    0
    Trophy Points:
    380
    #7
    Two different templates.
    The one excellent blog has no adsense on it, or lots of little buttons to different sites.
    The bad site is: http://www.thedawgblog.com (this is like next to "my recent blog")
    See all those rss buttons on the bottom right?
    Should I eliminate them (seems like they create about 1/3 or more of my problems).
     
    iowadawg, Apr 5, 2006 IP
  8. SEO Guru

    SEO Guru Peon

    Messages:
    1,117
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    0
    #8
    There are some minor errors only, you need not worry about them, but if you want to, here are the errors

    1.
    2.
    3.
    4.
    These are repeating manier times, total 69 warning, the template 'Almost Spring' might be having some errors, I'll download that and post some more info for you. :)
     
    SEO Guru, Apr 5, 2006 IP
  9. whateverandever2

    whateverandever2 Peon

    Messages:
    881
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #9
    When I looked at the errors in my site some of them were weird as for example it brought up errors on urls I cannot change as that's the url.
     
    whateverandever2, Apr 6, 2006 IP
  10. brian394

    brian394 Well-Known Member

    Messages:
    226
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    108
    #10
    When you validate a site, what you are actually doing is validating it's code. The code of the website is written in a certain language (HTML, PHP, ASP, etc.) and that language has rules (also called a syntax). When you write code that conforms to these rules (code that is syntactically correct) what you are writing is valid code, but when you write code that does not conform to these rules what you are writing is invalid code. Validating a site tells you whether the code you have written is valid or invalid. Here's an example. Let's say I write the following snippet of HTML code...

    <a href="http://www.test.com">This is a test</a>

    This is valid HTML code because it conforms to the rules of HTML. The rules (or syntax) of HTML state that the <a> tag must have both an opening tag (<a>) and a closing tag (</a>). So, for example if I were to write this...

    <a href="http://www.test.com>This is a test

    My site would not validate because that is invalid HTML code. To see a list of all the rules (or syntax) of HTML you will need to consult the official HTML 4.01 Specification written by the W3C.

    Code written in any language can be validated simply by determining whether the code the person has written conforms to the rules (or syntax) of the language. Here's another example. In Javascript, all statements must end with a semicolon. For example...

    var a = 3;

    is valid, but

    var a = 3

    is not because it's missing the semi-colon. A Javascript validator would say this code is invalid or has failed validation.

    Hope this clears things up a bit. :D
     
    brian394, Apr 9, 2006 IP