Curse You, Html Validator!
(If you don't know HTML, CSS and whatnot, this post may be very foreign to you. If you do know these terms, hopefully you understand my pain)
So I'm designing myself a portfolio website for Web Design 2 class at our college. I've been tedious making it, adding all the <alt> tags, tab index, <title> tags and whatnot. I'm sure to close every open tag and mark the end of each <div>. So when I began the validation process, I expected some small errors but nothing much.
Oh, but guess what the validator does.
"No "TARGET" attribute exists."
"No "ALIGN" attribute exists."
"No "BORDER" attribute exists."
(That's essentially what it said)
I was baffled. Of course align existed. Of course border existed. As I looked into it I found the validator wanted me to add those to the CSS instead of actual HTML code, since I was using a strict format.
The worst is still the <target> attribute.
How does that not exist? There's no way you can CSS a _blank target to open a new tab. As I looked into it, this is a common problem with HTML 4.01 Strict. Other people are surprised by this too. <target> has been around for pretty much ever.
How can't you use it? From what I see, the good ol' people at W3C think it's a fantastic idea to, instead of half a sentence of HTML to do the job, is to attach a gigantic javascript file to it that does the job for you. And that doesn't even mean it's all-browser compatible.
Graahhhh stupid validators >_< I've talked with my teacher and she's looking into the problem too.
6 Comments
Recommended Comments