Introduction
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:
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.
<html>
<head>
<title> demo html page</title>
</head>
<body>
<h1> this is demo Html page intended to validate</h1>
</body>
</html>
Step2: Open the browser and open the URL given above. ( http://validator.w3.org/)
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.
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.
The output generated by this validation is in subsequent figures as:
I hope this article had been resolved the problem related to HTML document validation at standard level.
Thanks you.
Leave Comment