Valid Code On Sites

Status
Not open for further replies.

MisterX

New member
Jun 25, 2006
1,555
22
0
I had the best intentions of doing valid xhtml in my newest template, but all the affiliate, tracking and other 3rd party code that I need made me say goodbye to it.

What are your thoughts about having valid code on your sites ?!
 


I think it's really only for webmasters to brag about... for the general public they don't even know what it means
 
I don't care if it's valid. If I was being judged by the quality of my code, then yeah I would care, but it's not like anyone is really even going to look at it. Just the people trying to steal my design and why would I want to make it perfect for them?
 
I validated one of my sites recently and it was a pain in the ass.
It wouldn't let me do simple things like <form action="javascript: someFunction();">

but in the end I did find some advantages to it
for example, everyone that knows CSS knows the box model hack. But with xHTML, you don't need to do it anymore because both FF and IE interpret CSS boxes the same way.
 
I've done it a few times...what a pain in the ass, especially with affiliate code, etc. like you said

I never really saw any benefit from it. As long as it looks and works fine for users, it doesn't matter to me.
 
With outside links (be it rss or affiliate) the biggest problem I have is using '&' in the url (as opposed to '&amp').

As mentioned, the vast majority of people won't even know what w3c validation is, much less care. So long as the spiders crawl it ok, itll work.
 
Occassionally I'll bother, but mainly if I'm developing just a small site that I won't update much - if i update it i'm sure to screw up the validation somehow.
 
I'll check to see what errors come up, if they're easy to fix I'll quickly make the change. If it's from affiliate code or similar I'll just leave it.
 
Just to add, I've had situations where I was having some small bugs (displays and such) and running it through the debugger actually helped me fix these. Sometimes I forgot to close a div or something similar, and validation helped me catch those types of things.
 
a.titus1 said:
Just to add, I've had situations where I was having some small bugs (displays and such) and running it through the debugger actually helped me fix these. Sometimes I forgot to close a div or something similar, and validation helped me catch those types of things.

Excellent point. I think everyone should have the Web Developer toolbar for Firefox. It's so simple to use and has some great features.
 
You wont get 100% valid code with affiliate links. Not yet anyway.

To the vast majority of web surfers out there, they don't care if a page/site validates or not they just care that when they go to a site it shows stuff for them to read and look at and doesn't look messy.
 
Good, so I'm not a strange minority :D

There are forums where people would be all over my impure intentions of keeping my code unvalidated and I'm glad this isn't becoming such a place.
 
Status
Not open for further replies.