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.
- To validate an HTML or JSP file that is currently open in Page Designer:
- Click
Tools | Validate HTML Syntax
- To enable HTML syntax validation to run when you build a project:
- Click
Window | Preferences | Validation.
- Select the
HTML Syntax Validator check box in the build column.
- Click OK.
Important: Automatic validation might have an impact on performance.
Related tasks
Indenting and aligning text and images
Creating headings and paragraph elements
Checking spelling in Web pages