Setting the targetSchema Property

Microsoft Script Editor

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 value of HTML 4.0, Navigator 4.0, or higher.

To set the default value for the targetSchema property

  1. Click Property Pages on the View menu.
  2. On the General tab, select a value for the targetSchema property.

To adjust the value of the targetSchema property while editing an HTML page

  1. Click on the page in HTML View.
  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, the following META tag is inserted:


    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.