Validate HTML and CSS

This is the answer to "How to validate HTML and CSS?"

HTML Validation

You can use online validation or a chrome extension. Your web page must be running on the internet to use online validation.

Online HTML Validation

The URL for the online HTML Validation is: https://validator.w3.org.

  1. Copy your URL in the buffer and paste it into the w3c validation form.
  2. Check the Source box as this will allow you to look at the source code associated with any errors.
  3. Submit the form to see the errors.

HTML Validation with Chrome Extension

Go to the chrome app store and Search for html validator (with Extensions selected) or go directly to the extension: Html Validator.

You will find the validation issues listed in Chrome Dev Tools which you can get to by right-clicking and selecting Inspect. There will be a new tab named HTML Validator that will show problems with HTML.

The gif below show an analysis of the google search page.

CSS Validation

There are online and chrome extension options for CSS Validation.

Online CSS Validation

Copy URL into buffer and test it at this location: https://jigsaw.w3.org/css-validator/

The picture below shows a CSS validation of the google search page.

CSS Validation with Chrome Extension

Go to the chrome app store and Search for html validator (with Extensions selected) or go directly to the extension: Style Validator.

Click on the extension icon in Chrome to see CSS errors.

results for ""

    No results matching ""