Let’s say you’ve created a new MVC 3 application, and here and there, within your HTML, you are given messages that <whatever tag or attribute> isn’t supported within the XHTML 1.0 Transitional validation target.

Just go to Tools/Options/Text Editor/HTML/Validation, and in the target dropdown, choose HTML 5.