Você está na página 1de 5

Document tabs can be re-ordered. Use your mouse to drag and drop the tabs into a new position.

Document tabs can also be closed simply by middle-clicking on them (if you have a mouse with a middle
button or equivalent).

The Message Window (View->Windows->Message) is an important window that makes visible the full text of
the currently selected validator message.

The Message Window can be undocked as well as moved and docked somewhere else.

One good docked location is between the editor and Results Window. Another good docked location is in the
lower right corner (this is the default).

In the editor, press Ctrl+M to jump to the matching tag. For example, pressing Ctrl+M when the cursor is in a
"table" start tag will move the cursor to the corresponding end tag.

In the editor, press Shift+Ctrl+# (# is a number 0-9) to set a bookmark and Ctrl+# to go to a bookmark. This is
a very useful and time-saving feature.

Save time with keyboard shortcuts.

Press F6 to validate the current document or Alt+F6 to validate all open documents.

Use Alt+x (where x is a number 0-9) to validate using a specific validation mode like Alt+2 for 'Errors only'
(see the Validate menu for what number to use for what validation mode).

The 'Quick Lowercase Tags' tool in the Tools menu can quickly convert all tags and attributes to lowercase.

The 'Quick Quote Attribute Values' tool can make sure that all attribute values are enclosed in single or
double quotation marks.

CSS HTML Validator is highly configurable. There are many options in 'Options->Validator Engine Options'
that you can change to customize the validation to your liking.

In the professional and enterprise editions you can even write your own user functions using the validator's
own scripting language (TNPL) for advanced customization.

Validator messages that you don't want to see can be disabled. Even a message's type can be changed, like
from an error to a warning. To do this, simply right-click on a validator message in the Results Window to see
the options for that message.

See the documentation for more information about disabling messages that you don't want to see.

Note: These options are not available for every message.

Press Ctrl+G to quickly go to a specific line and character location.


You can copy the validator messages to the clipboard and then paste them into another program. Simply
right-click in the Results Window and choose 'Copy Messages to Clipboard'.

If you choose from the submenu then you also have the option to use different formats like CSV, Text, and
XML.

Using this feature, you can paste the messages into an email and share the validation results with someone.

Automatically pretty print and fix HTML with the Pretty Print/Fix HTML Tool (under the 'Tools' menu). This
tool (which uses HTML Tidy) can fix a variety of problems (but not all problems can be automatically fixed).

The Pretty Print/Fix HTML Tool can also convert documents to and from HTML and XHTML.

The 'Line' tab in the Results Window shows you all the validator messages for the line that the cursor is on.
This is useful when you want to see all the validator messages for a specific line (sometimes the messages are
spread throughout multiple tabs).

The editor supports block mode text selection. To use, hold down the Alt key while selecting text.

You may want to turn off word wrap when using block selection (but do not have to).

Need more screen real estate? Try editing in full screen mode. You can toggle full screen mode simply by
pressing F11.

Use the HTML Inserter to quickly insert tags or the CSS Inserter to quickly insert CSS properties. There's also a
JavaScript and a PHP Inserter.

You can customize the User Inserter with your own tags, code, or any text you want. You can even execute
your own shell commands. For more information visit:

https://www.htmlvalidator.com/2020/docs/index.html?text_inserters_configure.htm

Want to ignore a section of HTML? Enclose the HTML in special "cseignore" comments. Example: <!--
cseignore-->...ignore this HTML...<!--/cseignore-->.

Want to ignore a section of CSS? Enclose the CSS in special "cseignore" comments. Example:
/*cseignore*/...ignore this CSS.../*/cseignore*/.

A list of links (or email addresses) can be checked by creating a text file with one link or email address per
line and validating it. See the documentation for more details.

You can use the link checking filters in the 'Link Filters' page in the Validator Engine Options to exclude
certain links from ever being checked.

You can also specify 'always bad' and 'always good' filters so that the specified links are always considered
bad or always considered good.
PHP documents can be checked for valid syntax when you enable this feature and download and install PHP.

When PHP scripts are detected during a validation, PHP syntax checking can be automatically performed in
addition to normal validation.

You can also choose 'Validate->PHP syntax messages only' to run only the PHP syntax checker.

Files and documents can be opened by dragging them onto the editor from File Explorer (previously known
as Windows Explorer).

You can use the 'Import/Export' functions in the Validator Engine Options to easily import and export the
validator engine options.

Use this to have multiple sets of options when working with multiple documents or projects that have
different validation requirements.

You can also use these functions to back-up the options or to share the same validator engine options with
others.

Additional dictionaries can be downloaded, as well as a dictionary editing utility from our website.

Visit the download section at:

https://www.htmlvalidator.com/download/

You can use Ctrl+Tab to go to the next document or Shift+Ctrl+Tab to go to the previous document.

You can also hold down the 'Control' key and use the mouse buttons that are typically used to go backwards
and forwards in a web browser.

You can middle-click on a document tab to close it.

A handy keyboard shortcut is Ctrl+D. Use Ctrl+D to quickly duplicate the current line.

The duplicated line is inserted above the current line.

This can be very useful when creating list items, table cells, or other constructs that contain repetitive
elements.

You can now use the mouse buttons that are typically used to go backwards and forwards in a web browser.

Depending on the focused control, the buttons will perform different functions. For example, when editing,
the buttons can be used to go to the next and previous validator messages. If the 'Control' key is held down
when pressing the mouse button, then it will navigate to the previous and next documents.

In the Shell Windows, the back button can be used to go up one folder level.

Other functions may also be available for other controls.

The validator messages can be navigated with keyboard shortcuts.

Use Alt+Up and Alt+Down to go to the previous and next validator messages.

Use Alt+Left and Alt+Right to go to the previous and next tab in the Results Window.
BIG TIME SAVER: Press F4 to repeat the last text insertion or text selection/sort command.

This can save a lot of time if doing many repetitive text commands.

CSS HTML Validator can monitor the clipboard and automatically open a new document tab (and also
validate it) when it detects that an HTML document has been copied to the clipboard.

This is a great way to quickly check HTML documents - by simply copying them to the clipboard from another
application.

This feature can be turned on and customized in the 'Clipboard' page of the Editor Options.

You can select text in the editor and select an option from the 'Selection' submenu in the editor's context
menu (right-click to see the context menu).

For example, do you need to URL decode or URL encode some text? Select the text to decode or encode and
then right-click on the selection and choose 'Selection->Other->URL Decode' or 'Selection->Other->URL
Encode'.

And there's a lot more. See the 'Selection' menu for the other options that are available.

Are you an expert and want more terse validator messages and less information that you already know?

If so then you may want to uncheck the show 'Extended message info when available' option in the 'Message
Output' page in the Validator Engine Options.

Are you concerned about privacy and security or don't have Internet access?

If so then be sure to use CSS HTML Validator instead of online services that send your documents over the
Internet. CSS HTML Validator never sends your documents over the Internet to be checked.

Note that link checking still requires Internet access to function.

You can right-click on an http or https URL to open the link. Simply select the 'Open Link' menu option in the
context menu.

This even works in the Message Window.

Don't forget about the 'Open Documents' Window (View->Windows->Open Documents).

This is a great way to see what documents you have opened and easily switch between them.

Sort the documents by the 'Results' column to show the ones with errors at the top.

Give it a try if you haven't already.

Are you working with a lot of documents and want to quickly close only those that have no errors or
warnings?

You can use 'File->Close Complete' (Alt+W) to quickly close all validated documents that don't have any
errors or warnings.
Do you ever need to sort some (or all) lines in a document?

Select the lines to sort (or use Ctrl+A to select all the lines) and then right-click on the selection and choose
an option from the 'Selection->Sort Lines' submenu.

The keyword density message (in the 'Search Engine' category) can tell you which keywords are used most on
a given web page.

You can configure this message (turn on or off and more) and choose which keywords are excluded in the
'Search Engine' page in the Validator Engine Options.

You can even use the onKeywordDensityWord() function in a TNPL script for advanced configurability. See
the documentation for more information.

When link checking, don't forget that you can add path mappings in the 'Path Mapping' page of the Validator
Engine Options.

For example, if your website files are stored locally in C:\mywebsite, then add a path mapping from C:\
mywebsite to https://www.yourdomain.com/ .

This will help the link checker calculate what link to check when editing files locally. With the example above,
the link checker will map the link C:\mywebsite\page1.php to https://www.yourdomain.com/page1.php .

Do you have a text file that contains links that you want to check (like a sitemap file)?

Just place CSEJOBTYPELINKCHECKTEXTRANDOM at the top of the file (as the first line) and check the
document as usual. CSS HTML Validator will find, extract, and check any absolute links that it finds.

Remember to remove the CSEJOBTYPELINKCHECKTEXTRANDOM line when you're finished.

By default the editor will highlight lines that have errors, warnings, and messages.

You can control this highlighting in the Editor Options (in the 'Line Highlighting' page).

You can also quickly toggle line highlighting using the toolbar button in the Editor Toolbar (by default this is
the vertical toolbar on the left).

You can easily change non-ASCII characters to character references.

Simply select the text that you want then right-click on the selection and choose 'Selection->Other->Change
All Non-ASCII to References'.

You can easily repeat the operation by selecting more text and then pressing F4 (F4 repeats the last text
selection command).

Você também pode gostar