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

Do ASP.NET forms authentication cookies provide any protection against replay attacks? Do they, for example, include the client's IP address or anything else that would distinguish the real client from an attacker?

1 Answers  


What is app_code folder in asp net?

0 Answers  


How to Deploy a project?

2 Answers  


Explain global assembly cache.

0 Answers  


What is the life cycle of web page?

0 Answers  






and can u telme how to explain about our job profile if i have 3years of it experiance in dotnet domain and where to start and where to end , and what shoul i tel and what not(can i mention my education ,and family details,......)i am confusiong a lot. can i ask one with your permision, if u have question that u u went tcs interview as 3+years exp so he/she asked tel me about your profile how can u tel and where to stop. please help me as simple as possible i am facing lot in this..............plese can anyone help me i am awaiting for your reply.

1 Answers   TCS,


Disable Session State at the Page Level

1 Answers  


How do pass data from one layer to another layer in N-tier architecture?

2 Answers  


What is the purpose of the validation summary control? What do you need to do to prevent an error message from being displayed in a validator when a validation summary control is used? How can you display a message in both the validator and the validation summary control?

2 Answers  


What is validation in asp.net?

0 Answers  


What is session mode in asp.net?

0 Answers  


What is use of <% %> in asp.net?

0 Answers  


Categories