Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Possible Bug in VS 2010

$
0
0

ok so until recently I just let VS set the doctype in new documents for me and I have not worried about it. That was until HTML5 now it is recomended you use <!DOCTYPE html> now this is nice and all however, VS changes it to <!DOCTYPE html /> after you type it in. after spending about an hour trying to figure out why IE10 was defaulting to Quirks mode I finaly found out that you can not close a doctype tag. While I am very OCD and believe all tags should both have an open and close or are self closing no exception, it puzzles me why doctype seems to be the only exception? And why did MS not simply fix this little quirk in IE or at least in VS. I am not sure if it is fixed in 2012 as I am having trouble loading web projects with it. Any Thoughts? or am I just totaly thinking about this all wrong?


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>