Skip to content

HTML Validator

Validate HTML Before Submitting

The World Wide Web Consortium (W3C) is a group that help update and standardize web content and providers

They include a service where you can upload a web file (.html) and get fast feedback on any possible problems

What is being checked?

The service provided by W3C checks syntax of your files. It uses a list of rules for standard HTML files, and checks you file looking for elements that do not follow the rules

It will show problems like a missing </h1> -or- an incorrect use of parameters inside an html element. It reports wether each HTML element is used correctly or not

It will not help you figure out if you have a bad image name or link address

It also does not know what you are trying to show in your pages

For each assignment, you are encouraged to use this service to help identify problems. You can use it as often as you like while completing your assignments

For Assignment 1, you are required to use it on your index.html file

Open the W3C Markup Validation Service

  1. In a new tab open https://validator.w3.org/
  2. Click on the Validate by File Upload tab

Upload a File

  1. Click on the Choose File button
  2. Select your index.html file

Other

  1. Click the Open button

  2. Back on the Validator page, click the Check button

    Other

  3. If you have no issues listed, then you page does not have any syntax errors

  4. If there are issues, review the report:

    • Made the appropriate changes to your files
    • View with Live Server
    • Upload to the validator again

Include the Validator Report in your project

  1. Capture a screen shot of the Validator results page showing no issues
  2. Save the screenshot in your Assignment 1 folder with the index.html file
  3. Zip the folder, test, and submit to Canvas

Last updated:

This work is licensed under a Creative Commons License