Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- HTML5 and HTTP
October 18, 2009, 10:00 pm
rate this thread
Re: HTML5 and HTTP
If you’re writing HTML 5 as HTML (ie. HTML5) then you won’t have any
issues serving the pages as you still use the MIME type text/html. If
you plan on writing HTML 5 as XHTML (ie. XHTML5), then you’ll likely run
into issues with Internet Explorer as you’d be serving the files with an
XML MIME type.
It’s important to note however that you can write HTML5 (ie. HTML 5 as
HTML) using an XHTML syntax (closing empty elements with a / etc) and it
will still be perfectly valid as either syntax is allowed within the
spec (as long as you’re writing as HTML5 not XTHML5).
It’s a little confusing at first, but once you get your head round it,
it makes perfect sense.
http://electricfreedom.org | http://webpageworkshop.co.uk
“If I had my life to live over again, I'd be a plumber” – Einstein