Wiki  |   Blog  |   Sitemap  |   Search  
HomeBlogSwitching to HTML5 doctype

Getting ready for tomorrow: Ample SDK to use HTML5 doctype

As an ongoing effort towards enabling standards-based development platform, we have made a firm decision to advice Ample SDK application developers to start using HTML5 doctype.

So, instead of:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ""> <html xmlns="" xmlns:xul=""> <!-- --> </html>


<!DOCTYPE html> <html xmlns="" xmlns:xul=""> <!-- --> </html>

According to what is said in HTML5 draft: A DOCTYPE is a mostly useless, but required, header. It is required because many User Agents look for it in order to recognize and render HTML content properly.

Dropping the identifier and doctype URI is safe, however you should be aware about the fact that the browser which is processing the page will make its best to draw such a page in the standards mode, so no quirks-mode anymore (also in IE).

Expect the change to be applied in the Ample SDK as of the next minor version (~24th March, 2009).