See update in this post: “This document was successfully checked as HTML 4.01 Transitional”! (and they said it couldn’t be done)
I just feel like having a rant…
First off, I’ve been totally redoing my website from scratch the last several weeks. I’ve changed my entire format, and I’m editing the content, as well.
To put a finishing touch on the whole thing, I’m working on getting my code valid according to the W3C Markup Validation Service. It is a good tool to find my own oopsies, like missing tags, etc.
The problem is that I have eleven favorite books that I recommend on my website. I am signed up with Amazon.com so that I can find out if anybody buys a book I recommend. In order to do that, they provide special link code.
But, the links break all the rules of html protocol! I will never, ever get my code the green light from W3C because of those links.
Not only is the code never going to be valid, but I have to hunt through hundreds of Amazon’s errors just to find my oopsies. These oopsies, if not found, make the web pages do funny things you do not want them to do.
You may ask “Surely, Amazon.com cares for its customers and would fix the code if they were aware of the problem”. Well, you would be wrong. I have written politely, two different times. Here the the standard reply:
“Please know that the coding in the Build Links tool is the only coding we provide.
I would not be too concerned that the coding we provide does not pass through the W3 validator. The W3 validator is very strict and constructing an HTML page which passes through it without any errors is quite a difficult task. As long as you use the coding we provide, we will be able to track any activity via your Associates links.If you would like for us to test the functionality of your Amazon.com links once they are built, please use the link below to contact us, and send us the URL for the page on which these links are stored. We will be happy to assist you.”
Unquote (emphasis mine)
Amazon.com says: “The W3C validator is very strict”…. so you are not even going to try to write valid code, Amazon.com? The protocol rules for code are there so that code works in every browser, in every language, and that the web pages load quickly. They are not “strict” because they are mean.
If I, little old X, learning html as I go, can get my code valid (except for their links), why can’t the Great and Powerful Amazon.com get their code valid? (I’m still getting the errors out of my website, but at least I’m making an attempt. I’ve having trouble with the meta tags right now….)
These are the rules they are breaking – rules that are there for a reason:
No alt text:
No image sizes:
Amazon.com says not to edit their code, but I get in there and add the alts and image sizes, anyway. So neener…
In addition to that, the links have many characters and symbols that are not valid including:
too many “&”s
too many “ />”s
Each Amazon.com link gives many errors in validation. A page where I list all eleven of my favorite books brings back hundreds of errors.
Something else that Amazon.com code is missing is Target = blank. Target = blank allows a new page for a link to open instead of staying on the site where the link is (sneaky Amazon.com) I get in there and add that to their links, too.
I’ve been working on my site for weeks, and I thought I just deserved a good rant.
If you read this far down, click here.