Convert HTML code for blog examples

12 May 2009 · 0 comments

Easily convert HTML for use as a code example in a blog post.

Online tool to convert HTML entities

Online tool to convert HTML entities

The Online HTML escape tool is very handy for those of us who need to include HTML code in our blog posts:

This tool replaces all characters known to cause problems, with correct HTML entities escape characters.
The escaped result is compatible with pages encoded in ISO-8859-X and UTF-8.

[Via: @girliegeek.]

That means it’s easier now to do this kind of thing:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Hello</title>
</head>
<body>
<p>Hello world. </p>
</body>
</html>

Be the first to comment ⇒

Tell us what you think.
Note: there may be a delay before your comment appears. I now approve all comments from new visitors, in an attempt to keep spam at bay.

Add your Comment

Older Post:

Newer Post: