Forum Moderators: open

Message Too Old, No Replies

Tags in Uppercase or Lowercase?

Preference, or necessity?

         

GuanoLad

4:21 am on Dec 12, 2002 (gmt 0)

10+ Year Member



I always write my tags in uppercase, because it more easily distinguishes between content text and tag.

I have noticed many people use lowercase for their tags, and a few people even specifically recommend you use lowercase tags.

What's the idea behind your choice? Is there some kind of unwritten rule? Does it matter? Will the W3C do something stupid like deprecate uppercase tags, just to be annoying?

I'm curious indeed.

korkus2000

4:35 am on Dec 12, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



XHTML standard is to use all lowercase tags. XML is case sensitive so they had to make it one way or another to make it valid XML. They chose lowercase.

Key_Master

4:40 am on Dec 12, 2002 (gmt 0)

tedster

5:23 am on Dec 12, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



more easily distinguishes between content text and tag

If you don't already have an HTML editor that does color coding - this is as good a reason as any to get one. Not only can you distinguish between tags and text, but "wrong" colors tip you off to errors before you get very far.

Most HTML editors today include color coding, and I'm not such a hard-core hand coder that I would turn down this kind of help.

GuanoLad

6:36 am on Dec 12, 2002 (gmt 0)

10+ Year Member



I do use colour coding, as I use Homesite, but sometimes I need to view it in plain text. It's a habit I've had for so long, I have no intention of breaking it.

I've not got any plans to transition to this XHTML thing, anyways.

MWpro

10:46 pm on Dec 29, 2002 (gmt 0)

10+ Year Member



If you want a text editor that can color code, download Editplus... it is a really good program, I use it for coding all my websites and is useful with programming...

You don't really have to switch to the "XHTML thing"... just try to be conscious enough to organize your code and to make it as close to perfection as possible... that's really what the w3c are trying to accomplish.

bcc1234

11:22 pm on Dec 29, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I second that. Editplus is the best general purpose editor!
Really worth paying for - usability of emacs with the power of vi.

dingman

11:54 pm on Dec 29, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Despite the fact that I chose emacs over vi because of the useability factor, I suspect that there are a lot of people who would argue that neither one is useable... ;)