Home > DeveloperSection > Articles > Validating HTML/HTML 5

Validating HTML/HTML 5

Web Development Web Development 
0 Comment(s)
 2912  View(s)
Rate this:

Validating HTML/HTML 5


Validating html document meant checking the preferred document syntax and standard, what is follows. There is html5 online validation is available which take html/html5 document and verify whether this document follow the standards of html5 or not. And generate errors and suggestion to reform the html document.

 The sources available are:

1.       http://validator.w3.org/

2.       http://validator.whatwg.org/

To validate html document follow the following steps:

Step1: create your html document as given below; note this is demo html file. However you can select/choose you heavy/large file to validate as need as you could use.



    <title> demo html page</title>



    <h1> this is demo Html page intended to validate</h1>



Step2: Open the browser and open the URL given above. ( http://validator.w3.org/)

Validating HTML/HTML 5

Now you have three options to refer the html document what you want to validate using the above html5 valuator.

1.       Validate by URI: give the URI (URL) of your document to be validate.

2.       Validate by File Upload: in this method you can upload your file (html document) to be validated.
3.       Validate by Direct Input: in this method you can copy/paste or write document directly into this valuator.

Step3: Now after choosing any of the methods for inputting you html document for processing. Click on “Check “button as mention in screen shoot.

 Validating HTML/HTML 5

As seen in above figure you can select various “check boxes from more option panel”. It depends on how you want to validate.

Step4: Now click on the Check button. You will display list of errors if any and warnings, suggestion etc. Validating HTML/HTML 5

The output generated by this validation is in subsequent figures as:

Validating HTML/HTML 5


Validating HTML/HTML 5

Validating HTML/HTML 5

I hope this article had been resolved the problem related to HTML document validation at standard level.

 Thanks you.


Don't want to miss updates? Please click the below button!

Follow MindStick