Re: Transition to HTML5

On 04/30/2010 05:52 PM, Jasper Magick 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?

Self-closing style syntax is permitted on the following HTML5 elements: 
area, base, br, col, command, embed, hr, img, input, keygen, link, meta, 
param, source, and wbr.

You may find the following resources to be helpful:

   http://html5.validator.nu/
   http://validator.w3.org/

- Sam Ruby

Received on Friday, 30 April 2010 22:13:21 UTC