drhowarddrfine - 3:17 am on May 26, 2013 (gmt 0)
@gouri Transitional doctypes were created for those transitioning from older, obsoleted HTML back in 1999 to HTML4. New web pages should never be using obsolete markup. You should always be in strict mode.
While HTML4.01 strict doctype is fine, the idea is to keep the browser in strict mode and the newer, so-called "HTML5 doctype" does just that. Plus it's a lot shorter and easier to remember. Also note, there is no "5" in this doctype as it really has nothing to do with the version number:
While I capitalized doctype, it's not necessary with HTML5 though that breaks from every other standard that requires it to be capitalized.