Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML Validator that is extensible

Several validators, such as the one by the W3C, can validate an HTML (or XHTML) page against the W3C spec. Are there any validators that are extensible? That is, I'd like to not only validate against the spec, but I'd like to also validate against additional elements and/or attributes. I'd like to be able to specify these additions without programming if possible; adding them to a database or XML file or a config file would be fine.

Thanks for any suggestions.

like image 774
james.garriss Avatar asked May 31 '11 17:05

james.garriss


People also ask

What is a HTML5 validator?

The basic idea behind HTML5 validation is, that you tell the browser which fields you want validated but don't actually do the tedious implementation yourself. As you define what state your input field is in you also asks the browser to validate the field client-side based on the type of input field.

What are validators in HTML?

An HTML validator is a specialized program or application used to check the validity of HTML markup in a Web page for any syntax and lexical errors.

How do I validate my HTML code?

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).


1 Answers

There isn't anything like it that I know

like image 165
dynamic Avatar answered Oct 11 '22 13:10

dynamic