Setting the targetSchema Property

The targetSchema property selects the minimum version of HTML a Web browser must support to display your Web page properly. The default schema is HTML 3.2.

Note   To use CSS styles, you must select a targetSchema of HTML 4.0, Navigator 4.0, or higher.

To set the default value for the targetSchema property

  1. Select Property Pages from the View menu and choose Document.
  2. On the General tabbed pane, select a value for the targetSchema property.

To adjust the value of the targetSchema property while editing a Web page

  1. Select the page in the HTML Designer.
  2. From the drop-down menu at the top of the Properties Window, select Document.
  3. Select a value for the targetSchema property.

    If you adjust the targetSchema property to a value different than the default, a meta NAME=vs_targetSchema tag is inserted into the <HEAD></HEAD> section of your page. For instance, if you select the value HTML 4.0, this META tag is inserted:

    <META NAME=vs_targetSchema content="HTML 4.0">.

    Note   When a browser name is included in a targetSchema value, this indicates a particular Document Object Model (DOM) to be targeted by your HTML markup.