what is use of doctype tag in asp.net

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

To wrap up a call to a Web service the standard used is..?

538


What is the usage of DelegatingHandler?

587


What do you mean by role-based security?

564


How to display validation messages in one control?

543


Difference between using directive vs using statement?

508






Explain Areas in MVC?

644


What is viewstate? What does the “enableviewstate” property do?

517


what is meant by sitemapnode ?

1495


Explain the updatepanel?

580


Define managed code and managed data in .net?

507


In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?

569


Do I need to have the latest version of windows media player installed?

510


Can viewstate be accessed in another page?

507


How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.

1420


What is client side state management?

500