Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any standalone HTML markup validation tools [closed]

Tags:

html

markup

Other than submit individual web pages for verification on the W3C site, are there any standalone tools that will do this job.

Ideally this would be a visual studio plugin that could catch errors at design time but one that would just take a wep application url running locally would be good.

Open source suggestions would be preferable

like image 215
Dean Avatar asked Apr 21 '09 15:04

Dean


People also ask

How do you check markup validation in HTML?

In order to validate your code, you have to declare the standard to which it adheres. To describe the HTML standard (the document type declaration, DTD), the file should contain a DOCTYPE declaration (before the HTML code). Here are a few examples (from http://www.htmlhelp.com/tools/validator/doctype.html).

What is the website used to validate HTML files?

What is W3C Validation? World Wide Web Consortium (W3C) allows internet users to check HTML and XHTML documents for well-formatted markup.

Is HTML Validator down?

Validator.w3.org is UP and reachable by us.


3 Answers

The W3C Markup Validator is an open source tool, which you can download and use it offline.

On Fedora, do:

yum install w3c-markup-validator
like image 80
viam0Zah Avatar answered Sep 21 '22 01:09

viam0Zah


I use the FireFox plugin "HTMLTidy" to do this. When you are testing, you can point Firefox to your dev server (i.e. "http://localhost:52457/...") and it will work as if the site were live.

Also consider setting HTML errors to be raised as compile errors in VS and set your compatibility level/Doctype to XHTML 1.1 Strict to get them all. These settings are under Tools -> Options -> Text Editor -> HTML -> Validation

like image 21
Rob Allen Avatar answered Sep 24 '22 01:09

Rob Allen


you could try with tidy

like image 42
dfa Avatar answered Sep 21 '22 01:09

dfa