powered by en-ligne.de

 

HTML Code converter

The converter transforms the text you type into the standard HTML code that every browser can recognize without altering the character encoding.

  • Use the "Filter tag" option if you would like to preserve the HTML formatting.
    Example: <p> test </p> transforms to <p> &#116;&#101;&#115;&#116; </p>

  • Use the other two options if you would like to show the HTML tags as text on the page.

  • If there are no tags in your text, the selection above doesn't matter.

 

 

Enter the text to convert:

  


Result:


Visit my sites:
Immobilien ohne Makler | AuctionX

Partner links:
Webkatalog Findorama
Webmaster Tools Central - A webmaster's directory of 1400+ tools and services to help build, promote, improve and maintain websites.
If you like our script,
please rate it at HotScripts.com

The HTML encoding can be useful for multilanguage sites. For example, it allows you to view both Cyrillic and Baltic letters at the same time.

You can also use it to hide e-mail addresses from e-mail grabbers. Neither "@" nor "." will be found on your web-page.

Note
this trick only works for older versions of e-mail grabbers. Modern programs can recognize even such mail addresses.

Is there a way to hide my mail address anyway?


Yes, but not as text.
There is no way to securely hide a mail address without using a server form, an image or a javascript as of yet.
An example of server contact form:

<?php
$answer="";
// config begin
$to="yourname@youraddress.com";
$subj="Contact message";
// config end
if (!empty($_REQUEST["sendermessage"]) && !empty($_REQUEST["sendername"])){
$txt=$_REQUEST["sendermessage"];
$from="From: ".$_REQUEST["sendername"]."<".$_REQUEST["senderemail"].">";
$result=@mail($to,$subj,$txt,$from);
if ($result)
$answer= " Your request has been sent.";
else
$answer= "Error: Your request cannot be sent.";
}
else {
if (isset($_REQUEST["sendmail"]))
$answer="Please enter your name and the message text!";
}
?>


<h2>Contact</h2>

<? echo $answer; ?>
<form method="get">
<table border="0" cellpadding="0" cellspacing="0">

<tr><td valign="top">Name:</td></tr>
<tr><td><input type="text" name="sendername"></td></tr>

<tr><td colspan="2">&nbsp;</td></tr>

<tr><td valign="top">E-mail:</td></tr>
<tr><td><input type="text" name="senderemail"></td></tr>

<tr><td colspan="2">&nbsp;</td></tr>

<tr><td valign="top">Message:</td></tr>
<tr><td><textarea cols="60" rows="15" name="sendermessage"></textarea></td></tr>

<tr><td valign="top">&nbsp;</td></tr>
<tr><td align="right">
<input type="submit" name="sendmail" value="Send mail">
</td></tr>
</table>
</form>