Don’t you just love the WordPress editor sometimes? Just when you least expect it, you click the text/html tab and find a heap of div or span tags added to your text or code!
Don’t stress, because I have found the ultimate solution on how to clean them up quickly and easily.
Enter the HTML Tag stripper tool which is a free online solution you can use several ways.
You can simply copy and paste anything into the box or add a file. On top of this, you can remove all HTML tags or exclude the ones you want to keep.
Here’s the before and after shots
Code Containing Unwanted HTML Tags
Code After Removing HTML Tags
Great for cleaning up CSS code and text which contains a heap of span and div tags.
Remove Attributes
If you want to remove some or all attributes, here’s a tool which enables you to do this.
This tool enables you to keep any of these attributes:
href,size,color,src,width,height,target,rel
And you can keep any of these HTML tags:
<p><sub><sup><br><font><b><strong><i><em><u><a><ul><ol><li><pre><hr><img><table><tr><td><th>
Leave a Reply
You must be logged in to post a comment.