I tried changing the doctype from XHTML 1.0 to HTML5 doctype by changing the doctype line in Site.Master.cs . However, after the change, the HTML5 tags are still not recognized in Visual Studio 2010. Is there anything else I have to do to get it working?
Site.Master.cs
Right-click on the toolbar at the top and enable the "Edit HTML Source" toolbar.
Then you can select the target scheme to test from the drop-down list.
NOTE Make sure you are viewing the aspx page that appears greyed out otherwsie
Here is an alternative solution that will work no matter what type of page you are viewing:
Tools → Options ... → Text Editor → HTML → Validation
Select "Target:" from the drop-down list that you want to use for verification.
Source: https://habr.com/ru/post/1395389/More articles:Invalid DBus.service file - pythonHow to create an IObservable that reads from an MSMQ message queue? - .netIs it nice to use separate sections of code inside the same method with curly braces? - javaApp transform after android text rotation rotation android - androidASP.NET MVC - Ajax.ActionLink Method Extension - asp.net-mvc-3Why does bool.try not parse TRUE or FALSE - c #Is it possible to make SubItem interactive in ListView - c #scala The parser combinator did not back down as I thought ... - scalaSign out of your Twitter account using JTwitter? - androidWeird C # error replacing text string - stringAll Articles