How to change Microsoft Expression Web doctype to HTML 5

送分小仙女□ 提交于 2019-12-13 01:30:33

问题


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

How can I change from XHTML 1.0 to HTML 5?


回答1:


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.



来源:https://stackoverflow.com/questions/26642809/how-to-change-microsoft-expression-web-doctype-to-html-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!