问题描述
Visual Studio HTML 设计器在哪里?我看到 HTML 设计器有一些选项,但我无法打开它.
Where is the Visual Studio HTML Designer? I see that there are options for the HTML Designer but I can't open it.
所以我只想问一下为什么找不到设计师,怎么打开.当我创建一个 HTML 文件时,它只是转到 HTML 代码.
So I just want to ask why I can't find the designer and how do I open it. When I create an HTML file it just goes to the HTML code.
推荐答案
默认的 HTML 编辑器(用于静态 HTML)没有设计视图.要将默认编辑器设置为具有设计视图的 Web 表单编辑器,
The default HTML editor (for static HTML) doesn't have a design view. To set the default editor to the Web forms editor which does have a design view,
- 在 Visual Studio 的解决方案资源管理器中右键单击任何 HTML 文件,然后单击
Open with
- 选择
HTML(网络表单)编辑器
- 点击
设为默认
- 点击
确定
按钮
完成后,您只需点击 design
或 split
视图,如下所示:
Once you have done that, all you need to do is click on design
or split
view as shown below:
这篇关于Visual Studio HTML 设计器在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!