Kentico CMS 7.0 Developer's Guide

HTML validator

HTML validator

Previous topic Next topic Mail us feedback on this topic!  

HTML validator

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

On the Validate -> HTML tab, you can perform validation of output HTML code of the page currently selected in the content tree, specifically of its version displayed in the currently selected view mode (Preview or Live site). Please note that even if you navigate to some other page in the preview or live site mode using links on displayed pages and then switch to the Validate tab, actions performed on this tab will still be related to the page selected in the content tree.

 

Validation is always performed against the version of HTML declared in the validated code.

 

 

InfoBox_Exclamation

 

Important!

 

Your data is sent to an external 3rd party validation service. If you have sensitive, non‑public content, we recommend that you use some other way to validate your website.

 

 

The following actions are available in the top row:

 

Approve Validate - performs HTML validation of the page currently selected in the content tree and displays validation results below.

Macro_tree View source - opens a new pop-up window where source code of the page selected in the content tree will be displayed.

 

The following actions are only available after performing validation which showed that the document is not valid:

 

WindowNewValidators Show results in new window - displays validation results in a new window.

Export to various formats - After clicking the OtherActions icon in the header of the Actions column, a context menu is displayed, offering options for export of listed data to various types of files.

 

When validity issues are found in the page's output HTML code, they are listed in a grid in the main area. You can see the following information about each issue:

 

Line - line of the HTML code on which the issue appears.

Column - column of the HTML code (i.e. number of characters from the beginning of the respective line) where the issue appears.

Error message - message describing the validity issue.

Error explanation - detailed explanation of the validity issue.

Source - extract of the part of the code where the validity issue appears.

 

devguide_clip0613