Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Sponsored Reviews   Improve your ranking, submit to directories   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 03-17-2007, 12:08 PM   #1 (permalink)
Contributing Member
 
andrewp's Avatar
 
Join Date: 06-20-06
Location: Wales
Posts: 459
iTrader: 0 / 0%
Latest Blog:
None

andrewp is a jewel in the roughandrewp is a jewel in the roughandrewp is a jewel in the roughandrewp is a jewel in the roughandrewp is a jewel in the roughandrewp is a jewel in the roughandrewp is a jewel in the roughandrewp is a jewel in the rough
Website Code Validation

How important is it for a website to have valid code?

I have been trying in vain to make my pages valid by going to http://validator.w3.org and inputting my code.

I thought it would be interesting to input the code for other websites and discovered that their code does not seem to be valid either

When copying their source code and pasting it into the validator I discovered Google.com had 47 errors and Yahoo.com had a staggering 281 errors! My website has less errors than both of these sites
andrewp is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 03-18-2007, 07:15 AM   #2 (permalink)
Contributing Member
 
Fruit & Veg's Avatar
 
Join Date: 10-13-03
Location: UK
Posts: 371
iTrader: 2 / 100%
Latest Blog:
How good are you?

Fruit & Veg is just really niceFruit & Veg is just really niceFruit & Veg is just really niceFruit & Veg is just really niceFruit & Veg is just really niceFruit & Veg is just really niceFruit & Veg is just really niceFruit & Veg is just really niceFruit & Veg is just really niceFruit & Veg is just really niceFruit & Veg is just really nice
I've recently been on a vlidating mission the past few months on my sites and I have seen a slight increase in traffic...but that could also be a result of other promotional activities too, so whether it actually results in more traffic, I'm not 100% sure, but it makes your site more accessible.

It's also like crack, it's addictive. Whenever I see one of my pages with the dreaded 'Red' page on W3 I feel dirty and need to clean it up until I see the heavenly 'Green' Validated screen. It forces you to learn more and become a better coder. I've learnt loads of little things to acheive that green goodness.

On your site - http://validator.w3.org/check?uri=ht...pe=Inline&ss=1

Try adding this to your <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

You could try stepping up your DOC Type to - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

Add alt="" to all your images.
Close your images - <img src="" border="0" alt="" />

Also, just one fix can sort out a number of issues, so a big number can easily be trimmed down. O'yeah, the Find and Replace function in Notepad will become your new best friend.

Be warned though, once you start validating you'll be hooked on it. But it does mean you can look down on those other, half-hearted, short-cut, dirty, filthy web designers.
__________________
Individualitee - Great Tshirts
SmartGeezer - UK Men's Clothing Blog
Fruit & Veg is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-18-2007, 09:12 AM   #3 (permalink)
Contributing Member
 
Bagi Zoltán's Avatar
 
Join Date: 11-28-06
Location: Hungary
Posts: 196
iTrader: 1 / 100%
Bagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebodyBagi Zoltán is liked by somebody
I'm also a validation addict. I don't think that valid code would influance the ranking or the PR, but if you are a maximalist you can't stop it. Otherwise I use this validator plugin for firefox. If you have a static html website it will fix the code automatically, all you have to do is to copy and paste and save. If you maintain a dinamic engine it will show you the critical areas, where you can fix the code.
__________________
eCommerce shopping cart :: seo directory
Bagi Zoltán is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-19-2007, 09:17 AM   #4 (permalink)
Empress™
 
chicgeek's Avatar
 
Join Date: 08-19-04
Location: York, UK
Posts: 17,965
iTrader: 0 / 0%
Latest Blog:
My Favourite Poem

chicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest order
♥ Validation
♥ FireFox

__________________
laura / chicgeek
soprano & web designer
laurakishimoto.ca
chıcgeeĸ @ flickr
chicgeek is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-11-2007, 01:46 PM   #5 (permalink)
Contributing Member
 
helloworld's Avatar
 
Join Date: 06-29-06
Posts: 72
iTrader: 0 / 0%
Latest Blog:
None

helloworld is liked by somebodyhelloworld is liked by somebodyhelloworld is liked by somebodyhelloworld is liked by somebodyhelloworld is liked by somebody
You "can not" have a unique website without failing validation. From what I have seen most websites that are attractive, or automated that are not simple pages all fail validation.

Ebay, Yahoo, Myspace even Google fail validation!

You have to choose between having a boring validated site, or having and interesting, good looking, fully automated site without validation.

http://validator.w3.org is useless
helloworld is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-11-2007, 02:30 PM   #6 (permalink)
Contributing Member
 
Arenlor's Avatar
 
Join Date: 01-02-07
Location: PA, USA
Posts: 194
iTrader: 0 / 0%
Latest Blog:
None

Arenlor is liked by somebodyArenlor is liked by somebodyArenlor is liked by somebodyArenlor is liked by somebody
Send a message via ICQ to Arenlor Send a message via AIM to Arenlor Send a message via MSN to Arenlor Send a message via Yahoo to Arenlor
Here's a good way to validate a site without a validator, a simple checklist, are all tags closed, are they all nested correctly, are they all real tags (for example, txtarea does not exist, aka spell check your tags), and lastly, what's your page look like in IE, FF, Opera, (maybe Safari), and a text only browser? A few maybe check for things are, are your colors all real (coffee shows up as a very light blue in some browsers), and how's contrast doing on your site, what about images/sound (media of any sort) do they let your site be 56K reliable? The only other thing I'd check for is do you use H1-6 correctly?
__________________
Need a page made? Draw a diagram, I suggest using Paint, show the picture with your post, it'll help a lot more than you think. Other questions? Draw a diagram for that too!
Arenlor is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-11-2007, 03:21 PM   #7 (permalink)
Contributing Member
 
exam's Avatar
 
Join Date: 04-20-06
Posts: 310
iTrader: 0 / 0%
Latest Blog:
None

exam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web pro
Quote:
Originally Posted by helloworld View Post
You "can not" have a unique website without failing validation. From what I have seen most websites that are attractive, or automated that are not simple pages all fail validation.

Ebay, Yahoo, Myspace even Google fail validation!

You have to choose between having a boring validated site, or having and interesting, good looking, fully automated site without validation.

http://validator.w3.org is useless
I do believe you are on crack. There is no reason the sites you mention couldn't validate. The only reason a site doesn't validate is a lazy/incompetent coder, or they have decided they don't care if it validates.
exam is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-11-2007, 03:58 PM   #8 (permalink)
v7n Mentor
 
Taltos's Avatar
 
Join Date: 11-22-06
Location: Phoenix, AZ
Posts: 1,798
iTrader: 0 / 0%
Latest Blog:
None

Taltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web pro
Send a message via Yahoo to Taltos
I would definitely agree with exam. Just because your site looks unique or cool, or has some interesting visual or sound effects, etc. does not mean it can't validate. Initially, I had troubles validating some pages but as I got further into it and into CSS, validation became easy and second nature. My code validated without really trying to.

I will agree that once in a RARE while you may want to do something on a site that won't validate. I have run across that on sites I was working on but I have also been able to find a way to do it that did validate. In every case, for me, that also ment better, cleaner, more stable code and page.

My on validation.
__________________
Experimenting
Taltos is online now  
Add Post to del.icio.us
Reply With Quote
Old 04-11-2007, 04:05 PM   #9 (permalink)
Contributing Member
 
exam's Avatar
 
Join Date: 04-20-06
Posts: 310
iTrader: 0 / 0%
Latest Blog:
None

exam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web pro
Well said Taltos.
exam is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-11-2007, 05:24 PM   #10 (permalink)
Contributing Member
 
Arenlor's Avatar
 
Join Date: 01-02-07
Location: PA, USA
Posts: 194
iTrader: 0 / 0%
Latest Blog:
None

Arenlor is liked by somebodyArenlor is liked by somebodyArenlor is liked by somebodyArenlor is liked by somebody
Send a message via ICQ to Arenlor Send a message via AIM to Arenlor Send a message via MSN to Arenlor Send a message via Yahoo to Arenlor
Here's what I learned, the simpler it is, the more likely it is to be valid, don't do anything that you don't need to do.
__________________
Need a page made? Draw a diagram, I suggest using Paint, show the picture with your post, it'll help a lot more than you think. Other questions? Draw a diagram for that too!
Arenlor is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
add text to code view but not having it show on website basslion Web Design Lobby 1 03-07-2008 08:51 AM
add text to code view but not having it show on website basslion Coding Forum 2 03-07-2008 08:16 AM
Html code to go to another website shahab6 Coding Forum 6 02-25-2007 05:51 AM
have adsence code on the website with daily hits of 3000? Tariel Zivzivadze Google Forum 15 07-19-2005 08:00 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 03:28 PM.
© Copyright 2008 V7 Inc