W3C home > Mailing lists > Public > public-html@w3.org > April 2010

Re: Transition to HTML5

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 30 Apr 2010 15:10:43 -0700
Message-ID: <h2sdd0fbad1004301510y2621c985la4d3ad68f10053c3@mail.gmail.com>
To: Jasper Magick <jasper.magick@gmail.com>
Cc: public-html@w3.org
On Fri, Apr 30, 2010 at 2:52 PM, Jasper Magick <jasper.magick@gmail.com> wrote:
>> Well, as long as you're not using some of the more xml-ish
>> features like self-closing your <script src>s , but since you're
>> probably serving your page as text/html right now, I doubt you're
>> doing so.
> I do self-close, as I am currently serving the pages as xml, which is why I
> mentioned application/xhtml+xml
> So pretty much I'd have to go through every line of code and remove the
> self-closing?
> I would have kept it XHTML, but I hate that IE still doesn't support it.

You only have to remove it for the elements that aren't void.  You can
keep your <link/> and <br/> and such.  But <div/> doesn't do what you
want in HTML (it just opens a div, doesn't close it).

If you're already serving as xml, you can just keep it as such.  XML
is a valid format for HTML5.  You just have the IE problem.

Received on Friday, 30 April 2010 22:11:35 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:01 UTC