Reputation: 40709
How to check in javascript, if the elements support the HTML5 lang attribute?
Upvotes: 0
Views: 132
Reputation: 1199
You cannot. HTML(5) does not have any built-in validation capabilities. If HTML were an instance of a schema language then you could easily validate against the schema.
Upvotes: 1