what is use of doctype tag in asp.net



what is use of doctype tag in asp.net..

Answer / ratnesh

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


Valid XHTML Web pages must contain a DOCTYPE declaration
that identifies the page as an XHTML page and references the
XHTML schema to which it conforms. The page must also
include attributes on the HTML tag that reference the XHTML
namespace. ASP.NET does not automatically create a DOCTYPE
declaration when the page is rendered. Instead, you should
create the DOCTYPE declaration with the appropriate XML
namespace references.

Is This Answer Correct ?    12 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is the difference between web config and machine config files?

0 Answers  


What is the difference between a session object and cache object

2 Answers   CitiGroup, PennyWise,


what are the levels of securities need to be considered for the finincial web application?

1 Answers  


What is the difference between Classic ASP and ASP.Net?

0 Answers  


How to Open any web page by clicking any Any ASPControl like (Checkbox,radio button or Button) without calling its event and without going to Siverside code?

5 Answers   LG Soft,






How can you implement the postback property of an asp.net control?

0 Answers  


In asp.net 3.5 we can go one page to onther page without using statemanagment concept?

1 Answers   ANR, Google, TCS,


What is the use of worker process in asp.net?

0 Answers  


Difference between abstract class and interface

2 Answers   Fidelity,


what is DLL Hell and how it is solved in .NET?

24 Answers   icegen, next, -uk, NIIT,


how to retrieve data using web services in asp.net pls give me the code and explain me briefly

3 Answers  


What are the new web part controls in asp.net 2.0 ?

0 Answers  


Categories