New HTML5 Doctype
February 8th, 2012 - 2 Comments »
Still using the impossible-to-memorize xHTML Doctype? Then do so no more!
It is now much simpler!
This…
|
1 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
should now be this…
|
1 |
<!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.
Related posts:









Dear Sir/Madem
how can make html draop down menu.
pls send me html code
thank you sir
Khaja
web & graphic designer
dear sir/madam
how can make html drop down menu. when we click on the dropdown below link this must navigate to particular page and load in same page by keeping tab as static