Backward Compatibility

One of the best reasons for you to embrace HTML5 today is that it works in most existing browsers. Right now, even in Internet Explorer 6, you can start using HTML5 and slowly transition your markup. It’ll even validate with the W3C’s validation service (conditionally, of course, because the standards are still evolving).

If you’ve worked with HTML or XML, you’ve come across the doctype declaration before. It’s used to tell validators and editors what tags and attributes you can use and how the document should be formed. It’s
also used by a lot of web browsers to determine how the browser will render the page. A valid doctype often causes browsers to render pages in “standards mode.”

Compared to the rather verbose XHTML 1.0 Transitional doctype used by many sites:

the HTML5 doctype is ridiculously simple:

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

Place that at the top of the document, and you’re using HTML5.

Down! oad html5_why/index.html
<!DOCTYPE html>

Of course, you can’t use any of the new HTML5 elements that your target browsers don’t yet support, but your document will validate as HTML5.


Posted

in

by

Tags:

Comments

17 responses to “Backward Compatibility”

  1. craft mini lights Avatar

    Excellent job on this article. I like your representation of your views. I would also like to thank you for interesting reading on this topic.

  2. Check Out Here Avatar

    It’s truly an honor to run across informational content like this. You are clearly knowledgeable on this topic and you have unique views to share.

  3. payday loans canada Avatar

    This reader has never seen quality work like yours. I hope you continue to write on this topic and that you write with the same passion expressed in this article.

  4. Vitamix 7500 Best Price Avatar

    Thank you for writing this information. This is great writing from an obviously knowledgeable person. I found your points valid, interesting and easy to digest.

  5. Shopping Avatar

    I can see that you’re putting plenty of time and effort into your blog and detailed articles!

  6. Forex Day Trading Avatar

    This article is excellent and you have done a great job getting your point across in this content. I’m impressed with how well you have stated your points of interest with such interesting, original thinking.

  7. hulu referral code Avatar

    This information is very well-written. Thank you for such valuable content. This is the quality of writing I like to read. It makes me think about it for a while.

  8. breaker Avatar

    How-do-you-do, just needed you to know I have added your site to my Google bookmarks because of your extraordinary blog layout. But seriously, I think your site has one of the freshest theme I’ve came across. It really helps make reading your blog a lot easier.

  9. Psychic Medium Houston Avatar

    How long did it take you to write this amazing content? I can’t imagine the focus and patience it took to put this information together.

  10. Psychic Medium Houston Avatar

    I am thinking I need to consider some of the data you have in this article. I agree with a lot of your points. I’ll have to get my brain working on some of these.

  11. vitamix 7500 best price Avatar

    Your content is valid and informative in my personal opinion. You have really done a lot of research on this topic. Thanks for sharing it.

  12. Vitamix Promotion Code 2012 Avatar

    You make some really good points in your writing. It makes the reader think while reading it. This is very interesting, well-written and engaging content.

  13. blendtec coupon Avatar

    I’m simply in awe of this article. How you were able to make this topic engaging is beyond my imagination. I am glad I got to read this. Thank you.

  14. blendtec best price Avatar

    This is awesome information! I have to thank you for providing so much insight into this subject. I am so happy I found your article.

  15. best shows in vegas Avatar

    I really like your viewpoints in this article. It appears you have took the thoughts right out of my head. Your views are right on in my opinion and I really like your writing style.

  16. Psychic Medium Houston Avatar

    I feel fortunate for finding your article. You have written your views in an insightful and engaging manner. I’ve read other articles on this topic that were dull and confusing. Yours is easier to understand.