|
Posted by Andy Dingley on 02/20/07 18:27
On 20 Feb, 18:04, "j1mb0jay" <j...@aber.ac.uk> wrote:
> What decleration should i use rather than text/html to allow
You should use a content-type of text/html, because anything else
breaks IE. The only viable alternative is to serve it dynamically,
according to what each browser claims to accept. Now you're having to
look at dynamic features for what should only need to be a simple
static site.
The doctype you use is probably best as HTML 4.01 Strict, but you
could use XHTML 1.0 Strict reasonably and validly (if not usefully).
What you can't do is to serve XHTML 1.1 by the same simple route.
If your course requires XHTML 1.1, then change course. They're
clueless and their teaching is untrustworthy.
Navigation:
[Reply to this message]
|