I am not sure what your question is, but maybe HTML::Parser or HTML::TokeParser will be of use to you. Actually, come to think of it, these I've used these modules to parse HTML that I know to be valid, not to check the validity of potentially invalid HTML; maybe you should look into something like HMTL::Validator, though I don't have experience with this module.
the lowliest monk
In reply to Re: Pair Tag missing
by tlm
in thread Pair Tag missing
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |