PHP strip_tags() Function

strip_tags(string) — Strip HTML and PHP tags from a string.

Try it here. Enter your HTML code below to see the result of strip_tags():

e.g. <body><table width="200" border="1"><tr><td>
<h1>What is Malware?</h1>
<p>Malware is a generic term for bad software. The word malware comes from the words <strong>mal</strong>icious
and soft<strong>ware</strong>.</p>
</td></tr></table></body>



Function Result
strip_tags Result: