Set document type information
Browsers read the DocType declaration on pages to determine which version of HTML the page uses. You can set a default DocType so that Microsoft Expression Web automatically inserts a DocType declaration on new pages. You can also choose not to automatically insert a DocType declaration on new pages. Here's an example of a DocType declaration:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
The DocType declaration on a web page also determines the schema Expression Web uses to drive incompatibility notifications and IntelliSense for HTML and script. Expression Web uses the secondary schema if a page has an unrecognized or missing DocType. If there is an incompatibility or error in your HTML, Expression Web adds an icon to the status bar. The Code Error Detected icon indicates an error in the code on your page. The HTML Incompatibility Detected icon indicates an incompatibility in your code with the HTML schema you selected.
For information about setting CSS schema options, see Using IntelliSense with cascading style sheets.
For information about setting other IntelliSense options, see Set IntelliSense options.
Pages which do not have a DocType declaration appear with Quirks in the status bar at the bottom of the window.
In the Code view of your page, do one of the following:
If there is already a DocType declaration in the page, select the entire DocType declaration.
If there is not a DocType declaration in the page, put your cursor at the very top of the page before all other code in your page.
Do one of the following:
On the Edit menu, point to IntelliSense, and then click List Code Snippets.
On the Code View toolbar, click List Code Snippets .
In the list of code snippets, do one of the following:
Type the keyword for the code snippet, and then press ENTER or TAB to insert it.
Select the code snippet you want to insert, and then press ENTER or TAB to insert it.
Double-click the code snippet you want to insert.