HTML 5 DocType
Can I change the doctype of any of the built in page templages under Design > Page Templates, without making my own master page?
Currently they are
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE HTML>
Hi Kristian,
Doctype can not be changed trough the UI in the backnd and we are working to provide this important functionality as soon as possible. The other way is to do it programatically as described in this forum.
Best wishes,
Stanislav Velikov
the Telerik team
Hi Stanislav ,
Can we still not change the doctype through the backend? Do we need to create a custom master page to do this? I'm also wanting to use HTML5 elements like <nav><header><footer> instead of using <div> for everything. So I'm thinking I need to use a master page to accomplish this, am I correct?
Hi Stanislav ,
Can we still not change the doctype through the backend? Do we need to create a custom master page to do this? I'm also wanting to use HTML5 elements like <nav><header><footer> instead of using <div> for everything. So I'm thinking I need to use a master page to accomplish this, am I correct?
Hey Matt,
Currently (v5.0.2860) there's no 'switching' option. There's a PITS issue which could use your vote (http://www.telerik.com/support/pits.aspx#/details/Issue=5913)
DOCTYPEs are required for legacy reasons. As per HTML standards, each HTML document requires a document type declaration (DTD). Moreover HTML5 is not based on SGML, uses the DOCTYPE only for mode selection. Fine here more about different doctypes...<a href="www.corelangs.com/.../doctype.html">HTML5 Doctype</a>
crony