vs2010 supports html5, and the setting method for supporting html5: 1. Upgrade Microsoft Visual Studio 2010 to Microsoft Visual Studio 2010 SP1; 2. Open VS2010, select "Tools" -> "Options" in the menu bar; 3. Select the text editor html->Verify; 4. Select html5 or Xhtml5 in the drop-down menu, and then confirm.
The operating environment of this tutorial: Windows 10 system, VS2010 version, DELL G3 computer
Does vs2010 support html5?
Solution to make VS2010 support HTML5
Today I used VS2010 to write the front-end code and used the HTML5 tag attribute, but VS2010 prompted that this attribute is not supported. So I searched on Baidu and finally solved the problem.
Now I will record the solution and share it with everyone, hoping to get your support.
1. Upgrade Microsoft Visual Studio 2010 to Microsoft Visual Studio 2010 SP1
1. The upgrade method is to download the official file to upgrade
Microsoft Visual Studio 2010 Service Pack 1 upgrade file download address: http://www.microsoft.com/downloads/zh-cn/details.aspx?FamilyID=75568aa6-8107-475d-948a-ef22627e57a5
or the address below (You can choose either one from the two):
http://www.microsoft.com/zh-cn/download/confirmation.aspx?id=23691
The download and installation time may take longer. Please wait patiently
2. After downloading the upgrade file and updating, open VS2010 to start configuration, select "Tools" → "Options" in the menu bar
3. Select the text editor html→Verify
4. Select html5 or Xhtml5 from the drop-down menu on the right, and then confirm.
At this time, create a new html file and see if there is !DOCTYPE html in the first paragraph of code? This proves that your vs2010 supports HTML5.
In addition, after upgrading to sp1, when you create an html file, you can select html5 or xhtml5 in the verification target architecture drop-down menu.
The file you create will also support HTML5.
Recommended learning: "HTML5 Video Tutorial"
The above is the detailed content of Does vs2010 support html5?. For more information, please follow other related articles on the PHP Chinese website!