IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Caps/no caps HTML?
Okay, I'm noticing that a few books are recommending all HTML be written in all caps, with no explanation, other than it will work in lower case, but we should all write in upper case.

Why?

I've also noticed that zIWETHEY only accepts lower case HTML...
There are 10 types of people. Those who understand binary, and those who don't.
New D00d, 1t b3 better t0 r34d!
HTML looks better in all uppercase, but I don't think that web browsers are case sensitive? Maybe the old browsers needed all capital letters to accept HTML?

I am free now, to choose my own destiny.
New HTML looks better in upper case?
Who but a monomaniac programmer would care how the HTML looks? It doesn't affect appearance of the page view one bit.

The only justification I can think of is that the interpreter may convert lower case to upper before interpreting the tag, but it seems to me the code is going to run through the motions regardless, because first determining if it is upper case and converting if it isn't would take a lot more CPU cycles.

I type HTML and content as a single stream, and upper case tags both take up too much space on the line, and make it more difficult to read and correct the content, which is the actual object of the exercise, not "pretty code".

Perhaps a person who just adds HTML tags to someone else's content would look at this differently, giving more visibility to the tags.


[link|http://www.aaxnet.com|AAx]
New Style, standards
Many programming guides (varying languages) suggest using case to distinguish keywords of varying types. I say: get a real editor. Colorized text offers far more modalities than case.

Some of the XML stuff is legit only in one case, whose specifics I manage to forget. I believe upper.

I find lower and/or mixed case to be far easier to read than all upper. I MEAN, WOULD YOU PREFER IF WE WROTE LIKE THIS IN EVERYTHING, ALL THE TIME? I'VE WORKED IN TRANSITIONED (OR (SHUDDER) WORSE: STILL EXTANT) MAINFRAME SHOPS, WHERE THE DIRECTIVE THAT THE LORD'S NAME SHALL NOT BE RENDERED IN LOWERCASE STILL HOLDS SWAY). IT SUCKS.

That said, some shops will ask you to code a certain way. Humor them or go elsewhere.
--
Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]
[link|http://kmself.home.netcom.com/|[link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]]
What part of "gestalt" don't you understand?
[link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.

   Keep software free.     Oppose the CBDTPA.     Kill S.2048 dead.
[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/...a_alert.html]]
New It's the Pascal method of teaching...
The html books are trying to teach html, so they are using upper case to bring the tags up front (while masking the rest). I started out doing html in all upper case, but it wears on your eyes after a while. I find upper case words much harder to read as a block - it's like shouting. Lower case is much easier to follow over the long haul.

One exception to the rule is the DOCTYPE tag - some browsers insist that it be upper case.
New Mostly habit
At this point this is just a habit, early web developers used upper case to maximize compatiblity. But it hasn't made a difference in years.

My understanding is that prior to the 4.0 standard the HTML specification didn't clearly specify case sensitivity. In practice, web browsers have always been case insensitve. But things like CGI apps often only worked with upper case.

And HTML 4+ comes right out and specifies case insensitity.

Naturally XML goes and reverses that. Strict XHTML requires all tags be lowercase.

Jay
New I knew someone would eventually say it.
I, too, prefer(ed) my HTML in uppercase. So I was most annoyed that not only was XML case-sensitive, but XHTML specified lowercase. I've found that in mixed-case pages, upper-case tags stand out a little more, but (as Karsten said) syntax-highlighting is better for that nowadays, anyway. IWETHEY probably only accepts lowercase because it was coded to the standard.

We specify upper case where I work for pretty much the same reason I stuck to uppercase when I first started coding. But when we start the big switch over to XHTML, we'll probably lowercase it all.

Wade.

"Ah. One of the difficult questions."

New Heh. Just how long you gonna wait?
Shoot, we've been xhtml'ed since early last year.
---------------------------------
Many fears are born of stupidity and ignorance -
Which you should be feeding with rumour and generalisation.
BOfH, 2002 "Episode" 10
New Dunno.
I inherited a lot of essentially HTML 3.2 markup. When I joined, the other programmer has just finished removing all the FONT tags, but a lot of B and I tags remain, as do all the TABLEs. I'd like to have fixed most of the HTML before the end of the year, but there's a lot of other things that need to be done before I can afford to spend time on that.

Wade.

"Ah. One of the difficult questions."

New zIWETHEY accepts some upper case keywords, not others...
For example, when creating a link to a URL in zIWETHEY, the "A" can be either upper or lower case, but the "HREF" keyword apparently *must* be lower case.

It's quite annoying as I usually use CAPS (I'm used to writing HTML by hand, so it's a real habit to break). At least I figured it out, though, if slowly. ;-)
--
[link|http://www.visi.com/~rsteiner|-Rich Steiner] (OS/2 and Linux user in Eden Prairie, MN)
The Theorem Theorem: If If, Then Then.
New Fixed.
For example, when creating a link to a URL in zIWETHEY, the "A" can be either upper or lower case, but the "HREF" keyword apparently *must* be lower case.


Behold the power of Pythonese.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Wow!
I didn't realize it was broken; it was just an observation...
--
[link|http://www.visi.com/~rsteiner|-Rich Steiner] (OS/2 and Linux user in Eden Prairie, MN)
The Theorem Theorem: If If, Then Then.
New Re: Wow!
If it affects how well the software works, or how easily it can be used, then yes, it is broken. :-)
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Let's see now
If I try it like [link|this is a test.html|this] what do I get?

Or if I try it like [link|this is a test.html|this]?

Or maybe like [link|this is a test.html|this]?

Or [link|this is a test.html|this]?

Or even [link|this is a test.html|this]?


Ahh, groovy. Accept any mix of case and convert it to the correct version. Schweet. (Every line above was capitalized differently when I submitted it.)
===
Microsoft offers them the one thing most business people will pay any price for - the ability to say "we had no choice - everyone's doing it that way." -- [link|http://z.iwethey.org/forums/render/content/show?contentid=38978|Andrew Grygus]
New Careful...
With that type of attitude you'll end up gaining people's respect, and it might even make people think you actually care or something... :-)
--
[link|http://www.visi.com/~rsteiner|-Rich Steiner] (OS/2 and Linux user in Eden Prairie, MN)
The Theorem Theorem: If If, Then Then.
New Re: Careful...
Well, I started this place because of the dreadful lack of that attitude at the previous host. There are no ads here, and ad revenue doesn't drive the feature set.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New ZIWT - Powered By People Bitching At Scott :-)


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Blog]
New Excellent.
+5 Hernia Resistance awarded to Mr. Whysall.

:-)

Cheers,
Scott.
     Caps/no caps HTML? - (inthane-chan) - (17)
         D00d, 1t b3 better t0 r34d! - (orion) - (1)
             HTML looks better in upper case? - (Andrew Grygus)
         Style, standards - (kmself)
         It's the Pascal method of teaching... - (ChrisR)
         Mostly habit - (JayMehaffey) - (3)
             I knew someone would eventually say it. - (static) - (2)
                 Heh. Just how long you gonna wait? - (tseliot) - (1)
                     Dunno. - (static)
         zIWETHEY accepts some upper case keywords, not others... - (rsteiner) - (8)
             Fixed. - (admin) - (7)
                 Wow! - (rsteiner) - (6)
                     Re: Wow! - (admin) - (5)
                         Let's see now - (drewk)
                         Careful... - (rsteiner) - (3)
                             Re: Careful... - (admin) - (2)
                                 ZIWT - Powered By People Bitching At Scott :-) -NT - (pwhysall) - (1)
                                     Excellent. - (Another Scott)

One may hardly be found in a handbag in the railway station unless one has been lost in a handbag in the railway station.
66 ms