[Pro] Simple question?

What default HTML should I choose?

HTML 4.01 Transitional
HTML 4.01 Strict
XHTML 1 Transitional
XHTML 1 Strict

Looking to build a sight that could be a along the lines of these two websites
http://www.bluebellhenley.co.uk

http://www.saxonmill.co.uk/

What is the difference between the four options?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I too would be interested to here someones views or clear answers to this query. Can anyone outline best practice/pros&cons or direct us to a source which can do this.? I imagine that the answer is unlikely to be encompassed in two or three sentences.

Richard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

There are a number of different schools of thought here.

Some say you should use the highest level that your users can support, which presupposes that one level is “better” than another.

Others say that if you want to use XHTML of any kind, you have to serve it as XML – with a Content-type header of ‘application/xhtml+xml’ instead of ‘text.html’ – otherwise it’s just “tag soup” to the browser. Without going that extra mile, XHTML is just HTML 4 with some extra rules applied.

The funny thing there is that if you serve XHTML as XML, no version of IE, living or dead, will recognize it as a Web page, and will instead offer to let you save it to your hard drive.

That said, if you serve it as text/html, XHTML is nice, well-formed tag soup, and causes no harm to any modern browser.

What is most important – what I would argue is the only point that matters – is that your (X)HTML is valid (and if you haven’t done anything off the books within a markup item then Freeway gives you that for free). Valid code means that there is a level playing field and any browser can interpret that code without any guessing required.

So pick what you want, and use it. If you use one of the Strict DOCTYPEs, you will be flying your geek flag, whether it has an X on it or not.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Here are 2 resources for information about xhtml and html. Because freeway writes the code, you don’t have to worry about anything… I always use xhtml 1 tansitional. The xhtml Strict version does not like some freeway actions.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options