Less Than and Greater Than Signs in HTML

Mon, Jul 6, 2009

Tech Tips

In HTML, you can not use the less than or greater than signs. You must use a special syntax to represent these reserved characters in HTML. These symbols are written as Character Entities:

  • The less than sign(<):   &lt;
  • The greater than sign(>):   &gt;
    Other Common Reserved Characters and their Character Entities:
  • The non breaking space( ):   &nbsp;
  • The ampersand(&):   &amp;
  • The copyright symbo(©):   &copy;

Additional Reference

Bookmark and Share

Comments are closed.