Here is tag strip_tags
strip_tags
<?php $your_string = 'This html Code <html>'; echo(strip_tags($your_string)); ?>