in reply to How to tell if the content of one tag is completely contained within another?

I'm not sure what you mean, but having markup in <title> tags is not allowed by the standard anyway.

Also, please use <code> tags if you want to show code. :-)

update: I'm assuming that you're trying to create HTML, where you shouldn't have ANY formatting in the title.

What I can't figure out is wether you want the error message to appear, or if you want the message to go away. :-/