Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Welcome to BZPower!

Hi there, while we hope you enjoy browsing through the site, there's a lot more you can do if you register. Some perks of joining include:
  • Create your own topics, participate in existing discussions, and vote in polls
  • Show off your creations, stories, art, music, and movies
  • Enter contests to win free LEGO sets and other prizes
  • Participate in raffles to win LEGO prizes
  • Organize with other members to attend or send your MOCs to LEGO fan events all over the world
  • Much, much more!
Enjoy your visit!


Curse You, Html Validator!

Posted by Shadix , Dec 14 2011 · 646 views

(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.

  • 0

I still code with a mix of CSS and older tags. Going strict with some of these is patently ridiculous, especially considering their limitations. <a href="URL" target="_blank"> is what I still use. CSS can just be such a hassle.

I rarely use JavaScript - I know a few snippets of code, and it can do some pretty cool things - but it's just so tedious - not to mention the browser compatibility issue you touched on in the entry.
    • 0
For class we're required to use 4.01 Strict for our final project, but yeah, in my future sites I'll use target. It's sorta pointless not to have it. Sure, use CSS for align and border, but the target thing is annoying.

And I like borrowing other people's javascript to do what I want. Like a refresh-to-change-text piece, Lightbox (actually I'm using PrettyPhoto now, it can do pretty much everything) and stuff like that. You also can't right-click on my site anywhere, trying to deter some people stealing my work. Not that printscreen can't stop them XD

I guess I'll find out today what I need to do with the whole target thing.
    • 0
Dec 15 2011 12:08 PM
I'm still using XHTML, heh. CSS works quite well with it.

That's pretty ridiculous that the align and border attributes are gone. I guess W3C is trying to further separate content from layout by switching appearance options to CSS -- if they are, they shouldn't, because I prefer HTML to have basic design options.

I don't get the reasoning behind removing the target attribute, though. Aren't links part of content?
    • 0
Yeah, links are part of content. Inline and all that. There's not exactly another way around target except for some javascript, which I'd hate to do for every external link.

Just curious, what's the difference between HTML 4.01 and XHTML? I don't know much about XHTML.
    • 0
Dec 15 2011 02:24 PM
I don't know, seeing as I've never used HTML 4.01. I believe XHTML was designed to work better with companion programming languages (CSS, JavaScript, etc.) -- I don't know where it fits on the HTML family tree, I just know how to use it. For the most part. I'm a bit out-of-practice. :P
    • 0
I want to learn HTML 5, because it has motion built into it. They look like some reeeeally nice perks XD
    • 0

<< >>

Posted Image

Search My Blog



Thanks to Sumiki for this. I merely put this here so I don't have to browse through his blog whenever I need to get a ALL CAPS TITLE.


PLUS i and e for iApple Products and e-Somethings:

ỉ е

Copypasta that and you're good ^,^


.: Proto History :.


Random approval from a Moderator.
December 16th, 2009.

SPIRIT for news report.
January 4th, 2010.

Premier Membership.
May 26th, 2010.


Just Meh



Food: Most pizza
Movie: Currently How To Train Your Dragon
Book: HERO: SECOND CLASS and any other Marcher Lord Press books.
Website: BZP. Where else??
Series: Dragon Keeper series by Donita K Paul
Band: Basshunter, DJ Splash, Brickwall Audio, all those are good. happy.gif
Music genre: Techno, Trance, Epic, and whatever sounds good to my ears.
Video game: Super Smash Bros. (Add Brawl to that for the Wii if it's a game I don't own but my fav)
Video game series: SSB series, and StarFox
Video game platform: Wii and N64
Color: Green and Blue
Bionicle: TOO MANY! But Tanma and Lewa Mata were sweet.
Element: Air/Water
Mask: Green Kaukau
BZP members: Cherixon, -Thylon-, Bcucu, Ike vs Meta Knight, Scotus, BaMB, Ardros (Didn't mean to forget you!) and Catdo654.
First name: Timothy
Heritage: 51% German, and then everything else.
Where am I from? Colorado, the best place ever!
Birthday: November 7
Age group: Teenager
Religion: Christian
Favorite shows: Sports Science (when I get to see it), Rockies.
Favorite newspaper comics: Zits, Calvin and Hobbes, and Garfield.
Computer: 4 year old Dell XP for my main, 7 year old Dell Laptop XP, and 8 year old Dell XP in my apartment.
Favorite BZP Comics: Aside from =Shadixs Comics=, 107 Noob Radio by Bcucu is pretty good, and Altron's Comics by Altron

Thanks to Thylon & Cherixon for making most of that template. smile.gif