Thursday, 26 July 2012

NEW HTML5 DOCTYPE

Still using the impossible-to-memorize xHTML Doctype? Then do so no more!
It is now much simpler!
This…

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

should now be this…

<!DOCTYPE html>

In fact, did you know that it truthfully isn’t even really necessary for HTML5? However, it’s used for current, and older browsers that require a specified doctype. Browsers that do not understand this doctype will simply render the contained markup in standards mode. So, without worry, feel free to throw caution to the wind, and embrace the new HTML5 doctype.

    Ditulis Oleh : Unknown // 10:18
    Kategori:

    1 comments:

     

    Followers

    Powered by Blogger.