Last post Sep 10, 2012 01:35 AM by Dino He - MSFT
Aug 27, 2012 10:25 AM|Chrissteven81|LINK
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?
Sep 10, 2012 01:35 AM|Dino He - MSFT|LINK
VS 2010 released in 2010, it not support too much HTML speciality.
And in vs2012 RTM when you create a webform page the default DOCTYPE tag is <!DOCTYPE html>.