Firefox logo

This page describes an easy way to validate HTML documents using CSS HTML Validator and Firefox.

CSS HTML Validator is a desktop software application for Windows that provides one-click checking of HTML, CSS, SEO, spelling, accessibility, mobility (Android/iOS), JavaScript, and links.

See also: Validating a DOM with Google Chrome.

Option 1: Use Chrome instead (Recommended)

Unfortunately, the options below are currently outdated and do not work with current versions of Firefox. We hope to find other solutions. We have kept the outdated options below in case they are still useful for any reason and for reference.

If you find another solution then please let us know. In the meantime you may want to try Validating a DOM with Google Chrome.

(No Longer Available) Option 2: Easy Copy Add-on

Note: Unfortunately this add-on is not currently compatible with Firefox Quantum and is no longer available.

The Firefox Easy Copy add-on extension by Byron (no longer available) can be used to quickly copy the HTML source of a web page (generated from the current state of the DOM) to the clipboard by selecting its Easy Copy->HTML Source menu option. When the document source is copied to the clipboard, CSS HTML Validator can automatically detect it, paste the clipboard text into a new document, and validate it.

Steps

  1. First, download and install CSS HTML Validator for Windows (a trial version will work) and Firefox for desktop (new window) if you haven't already.
  2. Run CSS HTML Validator and then go to the Editor Options (Ctrl+F3) and select the Clipboard options page. Enable the option to Watch the clipboard for HTML documents. You may also want to enable other options like the Auto validate documents from the clipboard option.

    Screenshot of the Clipboard options in the Editor Options dialog box

  3. TEST IT (v17+): If CSS HTML Validator is running and the option to watch the clipboard is checked, then CSS HTML Validator should automatically open a new document with the line "Success" when you copy the below line to the clipboard.

    <cseclip url="http://test.domain.com ">Success

  4. Run Firefox and install the Easy Copy add-on extension by Byron (no longer available). Use Firefox with the add-on to copy HTML to the clipboard. See the sections below for important information and tips.

Important

Tips

(No Longer Supported) Option 3: Html Validator Add-on with CSS HTML Validator Support

Note: Unfortunately Firefox's current framework now makes it difficult, if not impossible, to call native programs. Because of this, this add-on no longer supports CSS HTML Validator.

The Firefox Html Validator add-on extension by Marc Gueury (new window) supports recent versions of CSS HTML Validator (v10.02 or greater, any edition). In the Html Validator add-on's options dialog, choose CSE HTML Validator for the Algorithm (highlighted in the screen shot). View the page source to see the validation results.

Select CSE HTML Validator for the Algorithm in the Options dialog

Important