How to change Microsoft Expression Web doctype to

2019-08-12 06:51发布

I am using Microsoft Expression Web, and I have this problem: When I create a new HTML file, I get this:

enter image description here

How can I change from XHTML 1.0 to HTML 5?

1条回答
ゆ 、 Hurt°
2楼-- · 2019-08-12 07:34

If you just want to change the doctype from XHTML 1.0 to HTML5 in the newly created file, replace the first line with <!doctype HTML>. If what you're asking is how to make this the default, then according to Microsoft's documentation:

To set the default DocType declaration that Expression Web inserts when you create new pages

On the Tools menu, click Page Editor Options.

In the Page Editor Options dialog box, on the Authoring tab, select the Doctype and Secondary Schema you want to use for all new files.

查看更多
登录 后发表回答