logoalt Hacker News

intrasightyesterday at 5:21 PM1 replyview on HN

Also has made me nervous for years that there's been no schema against which one can validate HTML. "You want to validate? Paste your URL into the online validation tool."


Replies

Dylan16807yesterday at 9:22 PM

This help? https://github.com/validator/validator

But for html snippets you can pretty much just check that tags follow a couple simple rules between <> and that they're closed or not closed correctly.

show 1 reply