0

Are there any HTML5 feature or some JS script that could validate HTML, CSS and JS code on the client side ?

So I would just need to pass my code to function calls, and It would return me validation results that I could display somewhere in the webpage.

0

1 Answer 1

1

HTML 5 feature? No.

JS script?

It is possible to write HTML and CSS validators in JavaScript, I don't know anyone who has though. The W3C publish the code for their markup and CSS validation services, so you could port it if you were willing to spend the time and effort.

JSLint and JSHint are the popular tools for linting JavaScript in JavaScript.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.