in reply to Re^2: Ensuring HTML is "balanced"
in thread Ensuring HTML is "balanced"

Actually HTML doesn't require that some tags (including p tags) be closed. In particular the HTML 4.01 specification in section 9.3.1 says:

Paragraphs: the P element
Start tag: required, End tag: optional

so strictly speaking the p tag is not broken.


Perl is environmentally friendly - it saves trees