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 methods are fired during the page load?

1 Answers  


How does dataset acts in a disconnected fashion ?

3 Answers   TCS,


What is Web API?

0 Answers  


What is webresource axd?

0 Answers  


Define view state.

0 Answers  






What kind of data can be stored in viewstate?

0 Answers  


If i have a page where i create an instance of a dll and without invoking any method can I send values to next page ?

1 Answers   Satyam,


Which property is used to identify the Page is Post Back in ASP.NET?

0 Answers   Sans Pareil IT Services,


What is the use of session state and application state and difference between them?

0 Answers  


How do you remove duplicates without using remove duplicate stage?

0 Answers  


What is skin in asp.net?

0 Answers  


How do sessions work?

0 Answers  


Categories