Just learning so stick with me...
My quesstion is: If I am making a new site in Dreamweaver and plan on using some of the new HTML5 features like for example the easier way to apply CSS to rounded corners, or drop shadows; should my Doc Type be HTML5 when I first make the site? I'm using Dreamweaver CS5.5.
But when I begin my site in Dream Weaver do I need to choose html5 from the dropdown menu next to DocType in the New Document window that pops up right after you choose File then New (when very first starting the site in DreamWeaver)....if I plan on using any of the new html5 features? Thank you!
Well, I was a bit mistaken. there is actually a doctype declaration:
http://www.w3schools.com/html5/tag_doctype.asp
and if you follow the steps you mentioned using the drop-down menu in CS5 (I can't troubleshoot CS5.5 yet) then you will choose HTML5 which will match what you see in the above link I provided.
HTML5 requires a doctype to be specified to ensure that the browser renders the page in standards mode. The doctype has no other purpose and is therefore optional for XML. Documents with an XML media type are always handled in standards mode.
Traditional HTML Doctype Syntax
HTML5 New Doctype Syntax
<!DOCTYPE html>
Follow the link below for complete article:
http://www.phpzag.com/new-html5-doctype/
Message was edited by: phpzag.com
A doctype is refers to a Document Type Definition (DTD) and declaration of the HTML.It is an instruction to the web browser about what version of HTML the page is written in.The DTD specifies the rules for the markup language, so that the browsers render the content correctly based on HTML version.
North America
Europe, Middle East and Africa
Asia Pacific