HTML Commun Character Entities

Non-breaking Space

A common character entity used in HTML is the non-breaking space ( ).

Browsers will always truncate spaces in HTML pages. If you write 10 spaces in your text, the browser will remove 9 of them, before displaying the page. To add spaces to your text, you can use the   character entity.

Result	Description	     Entity Name     Entity Number
 	non-breaking space	 	         
<	less than	        &lt;	        &#60;
>	greater than	        &gt;	        &#62;
&	ampersand	        &amp;	        &#38;
¢	cent	                &cent;	        &#162;
£	pound	                &pound;	        &#163;
¥	yen	                &yen;	        &#165;
€	euro	                &euro;	        &#8364;
§	section	                &sect;	        &#167;
©	copyright	        &copy;	        &#169;
®	registered trademark	&reg;	        &#174;
™	trademark	        &trade;	        &#8482;

 
Notes:
 
1. Entity names are case sensitive!
2. The advantage of using an entity name, instead of a number, is that the name is easier to remember. However, the disadvantage is that browsers may not support all entity names (the support for entity numbers is very good).