Warning!New windows update come out.

Monday, April 13, 2009

Question of HTML entities?

As you know entities such as '&amp' , '&gt' are used to represent special characters in HTML. However, when I need to print these entities on my web pages, how can I achieve it?



Example: you want to display these 5 characters as-is on your page (you don't want them just shown as the single character '&'):





&





To do that, put these characters in your HTML:





&





The first 5 characters will be displayed as '&' and the remaining characters will be displayed as-is.




Change all character entities' "&"s to their character entity to show on your web page. Or use this free online tool to convert all HTML code to format needed to show on a web page:





http://www.felgall.com/htmlt47.htm?fm





Ron

No comments:

Post a Comment

Help on computer for you