I am using this snippet
<a href='<?php the_permalink() ?>' title='<?php echo strip_tags(the_excerpt()); ?>
with which I am intending to remove all
<p> tags and other
links, but that does not work at all.
If I hover the anchor, I am still getting to see the
<p> wrapped in the excerpt, as well as other tags and the url links. What am I doing wrong and what do I have to do to get it working?