Home » Headline, PHP

Convert HTML code to post as Blog examples

23 June 2009 508 views One Comment

We want to post HTML codes on our posts for code examples, but this would create problems because the browser converts the HTML codes to tags.This is where the Online HTML escape tool comes in. this tool converts HTML tags with the correct  HTML entities escape characters so that it will be displayed as is.





<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>

<head>

<meta http-equiv=”content-type” content=”text/html; charset=iso-8859-1″ />

<meta name=”author” content=”raven” />

<title>My Page</title>

</head>

<body>

</body>

</html>

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

One Comment »

  • MyBrute Game said:

    MyBrute is such an epic game. It is so addicting.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.