I don’t want to use XHTML but VS2008 forces me to.
When I type in an ASPX document < br it will autocomplete to < br />
But normal HTML4.01 does not use these things.
So how do I get rid of this annoying XHTML autocomplete? I want normal HTML 4.0
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Visual Studio’s HTML markup editor is basically an XML editor with HTML tag validation added. You’re not going to get rid of XML that easily. You could try the following, but no guarantees:
But more fundamentally, why bother?
<br />is not technically valid HTML 4.01, but all browsers recognise it and do the right thing.<br/>is more problematic.See the W3C XHTML compatibility guidelines for more info.