QuackFuzed.com is the personal ColdFusion coding blog of Matt Quackenbush. It exists primarily as a place for the author to learn, and hopefully to assist others in learning and/or avoiding some of the same pitfalls and mistakes. (Quack certainly makes enough mistakes daily to make up for the entire ColdFusion community.)

XHTML-Strict Compliant Forms

Posted on October 22, 2007 at 2:21 PM in General

I am a web standards junkie. I get really agitated if my code doesn't validate to XHTML 1.0 Strict standards. Why? Adhering to the standards, well, there can be nothing but positive things that comes out of making the additional effort. For instance, I know that if it does validate, the chances of it looking good in a variety of modern browsers - even ones that I don't test in - are very much in my favor. While there are really only three browsers that I really place any real efforts in checking (FF, IE6, IE7), I like knowing that I'm not excommunicating someone from my sites just because they use some little-known browser.

Besides, once you train yourself to adhere to the standards, it's really a painless process and takes no more time than just pushing out crap code. And you'll thank yourself later.

I created my own form markup that I've used for a long time now. It works very well, but I've always wondered if there wasn't a better way to make it happen. Today, I found that better way. Hang with me to the end, it should be worth your while.

[Continue Reading]

Comments
(Comment Moderation is enabled. Your comment will not appear until approved.)

On 10/23/07 at 1:09 PM, Ben Nadel said:

The UniForm example is awesome. I was pouring over it the other night. I need to start applying those types of principles to my projects.
CodeBassRadio

Latest Articles

Eventually something really brilliant and witty will appear right here.

Calendar

October 2007
S M T W T F S
« Sep   Nov »
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Subscribe

Enter a valid email address.

The Obligatory Wish List