asp.net.ph

XhtmlConformanceSection Class

System.Web.Configuration Namespace


.NET Framework version 2.0

Provides programmatic access to the xhtmlConformance configuration file section. This class cannot be inherited.

XhtmlConformanceSection Class Members

Collapse   Constructors

Visibility Constructor Parameters
public XhtmlConformanceSection ( )

Collapse   Properties

Visibility Name Value Type Accessibility
public Mode XhtmlConformanceMode [ Get , Set ]

Remarks

The XhtmlConformanceSection class provides a way to programmatically access and modify the xhtmlConformance section of a configuration file.

ASP.NET allows you to create Web pages that are compliant with XHTML 1.1 standards. By default, when working with browsers that support HTML 4.0 or later, ASP.NET pages and controls render markup that is compatible with the XHTML 1.0 Transitional standard.

However, under some circumstances, you might not want ASP.NET to render XHTML markup. This is typically true when you have existing pages that rely on tags or attributes that would ordinarily be prohibited by XHTML.

Notes to Implementers: Only rendering changes that are likely to break existing applications are reverted to their old behavior. There is no mechanism to revert all changes made to comply with the XHTML specification.

For more information, see the W3C XHTML 1.1 standard.

See Also

ASP.NET Configuration   <xhtmlConformance> Section   XhtmlConformanceMode Enumeration Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph