XhtmlConformanceMode Enumeration


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the authentication mode to use in a Web application.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public enum XhtmlConformanceMode

Member nameDescription

XHTML 1.0 Transitional


XHTML 1.0 Strict conformance


Reverts a number of rendering changes made for conformance to the v1.1 rendering behavior.

The XhtmlConformanceMode enumeration applies to the mode attribute in the xhtmlConformance tag. It specifies the XHTML rendering modalities for an ASP.NET application. The mode can assume one of the values listed next. The default is Transitional (XHTML 1.0 Transitional).

.NET Framework
Available since 2.0
Return to top