System.Web.Configuration.XhtmlConformanceMode Enumeration

Specifies the authentication mode to use in a Web application.

Syntax

public enum XhtmlConformanceMode

Remarks

The System.Web.Configuration.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).

Members

Member NameDescription
Legacy

XHTML 1.0 Transitional

Strict

XHTML 1.0 Strict conformance

Transitional

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

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0