First thing I thought of was to use XML (require end-tags, etc. like XHTML).
Create your own DTD that defines only these elements. Take the user's
inputted HTML/XHTML, load into XML parser, and validate with your DTD.
"Helena" <HSto...@hotmail.com> wrote in message
news:OnjnsAKQCHA.1672@tkmsftngp12...