Will check (X)HTML Markup on if every opened tag is closed (self-contained tags need to be closed at the end XHTML-Style, e.g. <img .../>
, receives an HTML string and returns either true or false.
Currently does not work on HTML single tags - maybe some golfing could resolve this issue.
Nope, because not valid XHTML - the closing tag should have the same case as the opening tag
This should take care of the tag names (138bytes):
...not enough place for .toLowerCase(), anyway.