I do not want to use xhtml, but VS 2008 emphasizes me.
When I sign the ASPX document & lt; It will auto-complete & lt; Br />
But the normal HTML4.01 does not use these things.
How can I get rid of this annoying XHTML Autocomplete? Visual Studio HTML Markup Editor is basically an XML editor with HTML tag validation. You are not going to get rid of XML easily but you can try the following, but there is no guarantee:
- Tools -> Options -> Text Editor -> HTML -> Format -> Auto Close Close Tag = false
- Format the HTML on the basis of Devices -> Options -> Text Editor -> HTML -> Miscellaneous -> Paste
- Tools - > Option -> Text Editor -> HTML -> Validation -> Target = HTML 4.01
But more original, why worried? & lt; Br / & gt; is not technically valid HTML 4.01, but all browsers recognize it and do the right thing. & lt; Br / & gt; is more problematic.
See for more information.
Comments
Post a Comment