Solution to VS2013 opening html files without design view by default_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:47:40
Original
1264 people have browsed it

When I was studying the ASP.NET video, I saw the teacher in the video creating an html file, then clicked on the design, and started dragging controls on it to lay out the web page. I also wanted to do the following, but I found that there was no design in the newly created html in my VS, but there was a design in the WebForm form. Um...why? ? ?

In the spirit of "not settling is the driving force for learning", I started searching online for "there is no design in the new html file created by vs2013". When I pressed Enter, the solution popped up. Let’s see how to solve this problem.

Step 1

Open VS and select "Tools? Options" on the menu bar.


Step 2

Select "File Extension" under "Text Editor".


Step 3

Enter "html" in the extension on the right side of "Options" and select "HTML (Web Form) Editor" and click Add.


Step 4

Check "Map files without extension to (HTML (Web Form) Editor)" on the lower side of the form , and then click OK.


The final step

Close all open documents in VS, and then restart VS. Open our html file again and see if "Design" pops up. Let's drag the controls into it! ! !


We will always encounter problems of one kind or another in our studies, but these are not problems. As long as we don’t give in, we will make progress. No.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template