This is a migrated thread and some comments may be shown as answers.

UPDATED DOCTYPE

1 Answer 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dave Navarro
Top achievements
Rank 2
Dave Navarro asked on 02 Feb 2009, 07:55 PM

Hello,

When I create a new .aspx page my default doctype is;

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

However I noticed your demo pages (in this case 'tooltip') you use the doctype;

 

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

I'm using VS2008, SQL Server 2008 and the latest Telerik controls for ASP.Net AJAX and Silverlight. Should I be changing my doctype to the same one you're using?

After reading the information on http://www.w3.org/1999/xhtml/ I certainly think so but thought I better ask and be sure.

Please let me know and thanks!

Dave

 

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Tervel
Telerik team
answered on 03 Feb 2009, 10:13 AM
Hello Dave,

Using a "stricter" definition such as XHTML 1.1 is better in terms of "older" standards being gradually dropped out.
However, for the time being you can use any of the two - VS 2005 by default uses the less-strict XHTML 1.0 Transitional.
There should not be a problem with using either one.
Best wishes,
Tervel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Dave Navarro
Top achievements
Rank 2
Answers by
Tervel
Telerik team
Share this question
or