Ian (Fluxtah) Warwick's blog RSS 2.0
# Friday, March 06, 2009

Yesterday, I thumbed through the C# Docs looking for stuff I might not know yet, and today I am doing the same thing for ASP.NET in hope to fill in some gaps that might help me with a technical interview I have coming up on tuesday.

This is something I did not know, in the web.config you can add a tag to define what level of XHTML compliance to render.

<system.web>
<!-- other elements here -->
    <xhtmlConformance
        mode="Legacy" />
</system.web>

Where mode could be one of 3 values (taken directly from the MSDN How to page for XHTML Conformance):

Legacy (which is similar to how markup was rendered in previous versions of ASP.NET)

Transitional (XHTML 1.0 Transitional)

Strict (XHTML 1.0 Strict)

Friday, March 06, 2009 6:03:00 AM (GMT Standard Time, UTC+00:00)  #    Comments [0] -
ASP.NET
Comments are closed.
Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
Blogroll
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
Ian Warwick
Sign In
Statistics
Total Posts: 33
This Year: 0
This Month: 0
This Week: 0
Comments: 4
Themes
Pick a theme:
All Content © 2012, Ian Warwick
DasBlog theme 'Business' created by Christoph De Baene (delarou)