Where is the visual studio HTML Designer?
Where is the Visual Studio HTML Designer? I see that there are options for the HTML Designer but I can't open it.
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.
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,
- Right click any HTML file in the Solution Explorer in Visual Studio and click on
Open with
- Select the
HTML (web forms) editor
- Click on
Set as default
- Click on the
OK
button
Once you have done that, all you need to do is click on design
or split
view as shown below:
Another way of setting the default to the HTML web forms editor is:
- At the top menu in Visual Studio go to
File
>New
>File
- Select
HTML Page
- In the lower right corner of the New File dialog on the
Open
button there is a down arrow - Click it and you should see an option
Open With
- Select
HTML (Web Forms) Editor
- Click
Set as Default
- Press
OK
Go to [Tools, Options], section "Web Forms Designer" and enable the option "Enable Web Forms Designer". That should give you the Design and Split option again.