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>
Notes
- Created by: Robert Nyman
- Web Site: http://robertnyman.com/
- Posted: February 5, 2007
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
Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.

