Validating HTML syntax

The HTML Syntax Validator validates HTML basic syntax and HTML DTD compliance for HTML and JSP files created in Page Designer.

Important: For JSP files, this validator only validates the HTML syntax in the file. Refer to Validating project resources for additional details on the JSP Validator.

Note: Version 7 of the product supports W3C HTML 4.01 and XHTML 1.0 and 1.1. Legacy and nonstandard tags (e.g. "xmp" tags ) are reported by validation as problems. If you need to ensure that a site completely meets W3C's standards, you should use their validation services.

  1. To validate an HTML or JSP file that is currently open in Page Designer:

    1. Click

      Tools | Validate HTML Syntax

  2. To enable HTML syntax validation to run when you build a project:

    1. Click

      Window | Preferences | Validation.

    2. Select the

      HTML Syntax Validator check box in the build column.

    3. Click OK.

      Important: Automatic validation might have an impact on performance.

 

Related tasks

Changing character attributes

Indenting and aligning text and images

Changing element attributes

Inserting special characters

Creating headings and paragraph elements

Checking spelling in Web pages