HTML, XHTML, or does anyone care

I spend quite a bit of time on web forums and one of the discussions that tends to come up is whether sites should be done in HTML or XHTML.  If you hit the right board it can be almost as much fun to watch as a Canon vs. Nikon discussion. 

Since the group here seems to be fairly knowledgeable on web design, but most aren't actively developing sites other than their own, I'd like to ask a question to y'all. 

Does it matter?  Do you care whether your web design validates to XHTML 1.1 strict?  Or is all that matters how it looks? 

To me it seems like it's a discussion similar to ones we have here about gear, techniques, etc, that most of our photography clients won't care about.  They care about the final image. 
Logged


I care about the look of my site, how fast it loads and if it displays acceptably on all browsers.

Honestly my web design knowledge is limited, I probably know more than the average photographer but far less than a web designer.  I am limited to what I can do because of it.  So, sorry, your question really sorta went over my head.  I understand it, but don't know enough to have an opinion.
Logged


Same here.  I don't think I know enough about XHTML to really have a discussion.  The little I do know about it, it wouldn't do anything to be that advantageous to me, so I think I'll stick with what I have been doing.  I am very limited about web design as well, however, so there may be great advantages of one over the other.

Can you give us some specifics?  Is there certain 'features' that one includes that the other doesn't?  Sometimes, circumstances can change an opinion.  I am usually not one to feel that there is one 'perfect' way on most things as a whole; but that there may be one 'best' way on a particular thing/need.  Just like Canon vs. Nikon... I think Canon has a hold on certain functions and needs for certain types of photography and Nikon is better at other things.  If my needs were exclusively landscape and huge prints, I would have gone to Canon a long time ago for their full-frame sensors, something Nikon has just recently started offering.  So, I guess it would depend on more factors than I feel I could discuss intelligently without more information/knowledge of the particular question.

Travis
Logged


I don't really know much about why one should be over the other.  I lean towards HTML 4 loose, but that's just what I'm used to using.  XHTML has to be "well formed" so instead of <img src=..."> it has to be <img src="..." /> because every tag has to close. <meta ...> becomes <meta ... />, <br> becomes <br />. 

I suppose that answers the original question though.  It probably really doesn't matter that much.
Logged


Does forcing it to close make it more reliable?  Or is it considered a 'stronger' code because of it?
Logged


XHTML has a larger command set, mostly dealing with CGI so its mostly a moot point. I code for XHTML because my debugger is more friendly but pretty much do anything outside HTML 4 with JavaScript and PHP
Logged

-----------------------------------
"I get up every morning determined to both change the world and have one heck of a good time. Sometimes this makes planning my day difficult. "- EB White

Chattanooga Photographer www.BobEdens.com

I just write my code in a hodge podge manner, a little of this a little of that.  I have all the simple stuff memorized - font, colors, links, images, tables, and for anything else more complex I google it, there are tons of tutorials and text writers out there that aren't bad.

My dad (a brilliantly smart engineer) always says "It doesn't matter if you know everything, as long as you know where to find the information".  My dad would say that about my grades, he could care less if I got a D-.

Edit:  By text writer I meant code writers.
« Last Edit: July 06, 2008, 07:46:19 AM by Ginnypenny »
Logged


is xhtml something you put on a sandwich?  Cause that is all that matters to me right now.   Big Grin
Logged