Just fair warning, I’m ranting about geeky stuff regarding web design/development…
I read a chapter in a book on HTML and CSS design about how to make your website(s) “standards compliant”. I said what the hell, let’s do it. So I started with the contact list page of PeopleArray. I ran the validator from the website of the group that defines what makes up the web standards (World Wide Web Consortium or W3C). I went to the contact list, let it load, viewed the source and copied it, pasted it into the validator and let it rip. The first few passes produced a ton of errors. Some of the errors included no alt’s on my image tags, I had a closing div but it wasn’t ever actually opened and then some id’s of some elements were duplicated (I made those classes and updated the CSS accordingly). Now I have one error…and I have no clue how to get around it AND I can’t believe that this isn’t allowed in the XHTML 1.0 Transitional DOCTYPE. You ready for this? the onClick property isn’t allowed for anchor tags! WTF?!
So I looked it up and found this page. This page shows all of the allowed properties for different tags under this DocType. The only on* properties allowed for an anchor tag are onBlur and onFocus! No onClick. So now I’m trying to figure out how to get around this. onBlur doesn’t work, maybe onFocus?
EDIT: onFocus isn’t the answer.
I guess this part of the website won’t adhere to the XHTML 1.0 Transitional (of Strict) standards.






Add New Comment
Viewing 2 Comments
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Add New Comment
Trackbacks