Reserved Characters in HTML

There are several characters that you cannot type directly  into HTML. You must use code to represent those characters. you can use either the entity number or the entity name in your code.

Character Entity Number Entity Name Description
" " quotation mark
' ' (does not work in IE) apostrophe
& & & ampersand
< &#60; &lt; less-than
> &#62; &gt; greater-than

You embed these codes into your HTML:

110 &lt; 150 &amp; 150 &gt; 110

To give you:

110 < 150 & 150 > 110

This entry was posted in Web Design and tagged . Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">