Skip to main content

Online HTML escape tool

Online tool for HML escaping, this tool replaces all occurences of < , > , ', " with corresponding html equivalents.

This tool is helpful for escaping javascript codes which are to be embeded in blogger templates. Just input your JS script or any string and get the HTML escaped output string.

Put here, your code for HTML escaping

Copy from here, you HTML replaced code.

Illustration of results:

Input Text:

<script type="text/javascript"><!--
google_ad_client = "ca-test-446346363636363633";
/* PHP300X250 */
google_ad_slot = "Test084082";
google_ad_width = 300;
google_ad_height = 250;
<script type="text/javascript" src="">

Output Text:

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-test-446346363636363633&quot;;
/* PHP300X250 */
google_ad_slot = &quot;Test084082&quot;;
google_ad_width = 300;
google_ad_height = 250;
&lt;script type=&quot;text/javascript&quot; src=&quot;;&gt;

Make your own HTML escape tool

Copy and save the following code on an HTML page and run it on the browser.

Input Box<br/>
<textarea id="iptxt" style="height: 300px; width: 500px;" onchange="javascript:escapeHTML()" onkeypress="javascript:escapeHTML()" onblur="javascript:escapeHTML()" ></textarea><br/><br/>
Output Box<br/>
<textarea id="optxt" readonly="true" style="height: 300px; width: 500px;"></textarea>

function escapeHTML(){
var input_str=document.getElementById('iptxt').value;
input_str = input_str.replace(/</gi,"<");
input_str = input_str.replace(/>/gi,">");
input_str = input_str.replace(/'/gi,"'");
input_str = input_str.replace(/"/gi,""");
document.getElementById('optxt').innerHTML = input_str;

HTML escape tool is brought to you by

Popular posts from this blog

Payback Points - How to redeem - How to merge multiple payback accounts - Block Payback card - Payback customer care

Your SBI Debit card ending with XX0000 is deactivated only for Internet txn.

SBI account holders may have received an SMS with following message, supposed to be from State Bank of India (SBI).

Your SBI Debit card ending with XX0000  is deactivated only for Internet txn. To activate send SMS "SWON ECOM 0000" to 09223966666. No change for ATM/POS usage
** Replace the four Zeros with last 4 digits of your debit card number

Recently many of the SBI account holder has losed their money due to a hi-tech ATM robbery which happened in Thiruvananthapuram, capital city of Kerala.

Joomla and Forum Integration - Integrating Forums to Joomla

Joomla is one of the most popular CMS opensource packages. It is very easier to develop website's using Joomla. You just need to download Joomla package from Joomla's Official website  and install it on your domain and later adding customizations to templates and feature and Your website is ready :). Now a days most websites provides a forum section for it users for discussing various article topics, gathering opinions etc.

Following are some best know forum opensource packages which can be integrated with Joomla and create a new forum experience for users

Urgent Openings for PHP trainees, Andriod / IOS developers and PHP developers in Kochi Trivandrum Calicut and Bangalore. Please Send Your updated resumes to   Read more »
Search This Blog