PDA

View Full Version : HTML vaildation


Jase2
04-01-2008, 06:11 PM
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.techsupportteam.org%2Ff orum%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

74 errors, how do I correct most of them? I don't get where it says premature tag at: >

Any help?

Regards Jason :)

Adrian Schneider
04-01-2008, 06:23 PM
-close image tags (self closing : <img ... /> )
-use lowercase markup and attributes
-fix incorrectly nested elements
-check your custom <if> conditions, because an <else /> made it to the rendered HTML

...

Jase2
04-01-2008, 06:33 PM
Sorry, I don't see what you mean. Can you point me out the errors, then let me know how to correct them?

Regards Jason :)

Opserty
04-01-2008, 07:10 PM
http://www.w3schools.com/xhtml/xhtml_syntax.asp

No one is going to fix the errors for you, you need to learn how to do it yourself. ;)

Boofo
04-01-2008, 07:18 PM
The validation will tell you mostly what you need to look for. It's a learning process. I just fixed one of my hacks that was giving me errors but only when I did certain things with it. Otherwise, the errors never showed up. But, I will let you in on a secret...


VALIDATION IS ADDICTING!!! ;)

Jase2
04-01-2008, 07:27 PM
Yes, suppose I will. To be honest, I've never checked for validation. I don't think many sites do either, as I've checked a number of top sites and they have errors.

What are the advantages of passing validation?

Regards Jason :)

Boofo
04-01-2008, 07:34 PM
I never did it either until this past week. And then it was only to see if I could do it. I will NOT let it beat me. Like I said, it is a learning process. I have learned quite a bit about HTML since I started doing it. It makes doing templates and adding pages a lot easier once you begin to understand how it all works. Fixing one thing can erase quite a few errors.

Jase2
04-01-2008, 07:52 PM
Yes, I've also learned a lot. I do C++ more, so I'm just learning PHP ect... I'm a dev for a Linux OS.

Regards Jason :)

Boofo
04-01-2008, 07:57 PM
I can do Turbo Pascal. That and a quarter will buy me a dime cup of coffee. ;)

Jase2
04-01-2008, 08:10 PM
On the validator, why is it picking this as an error:

<link REL="SHORTCUT ICON" HREF="

Regards Jason :)

Boofo
04-01-2008, 08:11 PM
Link me.

Jase2
04-01-2008, 08:12 PM
First post.

Regards Jason :)

Boofo
04-01-2008, 08:14 PM
The first one is easy:

Remember XHTML is all lower-case

Jase2
04-01-2008, 08:18 PM
Oops, my bad. But, I still don't get some of them. Such as:

…www.techsupportteam.org/favicon.ico"> <meta name="verify-v1" content="+J2hTIQ

<link rel="shortcut icon" href="http://w

Regards Jason :)

Boofo
04-01-2008, 08:25 PM
Set me up an account and I will come take a look and see what I can do to get you started.

Jase2
04-01-2008, 08:34 PM
PM sent!

Regards Jason :)