2

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?

Sam Hanley
  • 4,707
  • 7
  • 35
  • 63
Victor2748
  • 4,149
  • 13
  • 52
  • 89
  • 1
    Where is your `` tag? `` should be inside of ``, not `` This is what the message in popup tells your about. – Cheery Oct 30 '14 at 00:06
  • Tutorial with screenshot: https://www.thesitewizard.com/expression-web/how-to-make-expression-web-use-html5.shtml – Vadzim Apr 19 '20 at 21:56

1 Answers1

2

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.

Community
  • 1
  • 1
Sam Hanley
  • 4,707
  • 7
  • 35
  • 63