#native_company# #native_desc#
#native_cta#

Remove HTML Tags

By Robert Nyman on Feb 5, 2007

General

This function will remove all HTML tags from a string.


Input code: (Note: Processing is done on the “input-code” id)
<h2>About</h2>
<p>Here you will find posts about news, trends and
developing for Internet, mainly focusing on browsers
and Web user interfaces.</p>
<p><a href="/about">Read more</a></p>
» Click to remove all HTML tags from the input code.

Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: removeHTMLTags.js


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document