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.
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>