XhtmlConformanceSection.Mode 속성

정의

속성을 가져오거나 설정합니다 Mode .

public:
 property System::Web::Configuration::XhtmlConformanceMode Mode { System::Web::Configuration::XhtmlConformanceMode get(); void set(System::Web::Configuration::XhtmlConformanceMode value); };
[System.Configuration.ConfigurationProperty("mode", DefaultValue=System.Web.Configuration.XhtmlConformanceMode.Transitional)]
public System.Web.Configuration.XhtmlConformanceMode Mode { get; set; }
[<System.Configuration.ConfigurationProperty("mode", DefaultValue=System.Web.Configuration.XhtmlConformanceMode.Transitional)>]
member this.Mode : System.Web.Configuration.XhtmlConformanceMode with get, set
Public Property Mode As XhtmlConformanceMode

속성 값

값 중 XhtmlConformanceMode 하나입니다. 기본값은 Transitional입니다.

특성

설명

기본적으로 HTML 4.0 이상을 지원하는 브라우저를 사용하는 경우 ASP.NET 페이지 및 컨트롤은 XHTML 1.0 전환 표준과 호환되는 태그를 렌더링합니다. 그러나 일부 상황에서는 ASP.NET XHTML 태그를 렌더링하지 않을 수 있습니다. 이는 일반적으로 XHTML에서 일반적으로 금지되는 태그 또는 특성을 사용하는 기존 페이지가 있는 경우에 적용됩니다.

적용 대상