Sunday, April 29, 2007

Show Character Entities on a web site or blog post

Do you want to know how to show something like "<" too on your web site page or blog post? They are called character entities, and you can't show them "as is" because, if you just type them into your HTML code, the browser convert them into ">" symbols.

But you can use this notation:

"&-amp;lt" (without the minus sign!!) to show "&lt"

P.S. You can visit http://www.w3schools.com/ to read more about character entities.

PP.S. On this same blog you can see also: http://pelerin-voyageur.blogspot.com/2007/04/how-to-show-html-code-in-web-page-or.html

0 commenti: