HTML PRIMER
by Jim Gordley
2015 HomeSpun Internet Enterprises

CHARACTER ENTITIES

HTML reserves certain characters used to separates code from displayed text. Characters associated with tags are reserved to prevent browser programs from confusing them with characters displayed by browsers as readable text.

An example is the less than symbol < and the greater than symbol >. The safe way to display these reserved characters is the character entity code. Entity codes are identified by using &name; or &#number;.

There are many characters you may want displayed within the text of your web pages that do not exist on a standard keyboard. Entities are used to display those characters as well.

THE HTML THE DISPLAY
&copy;2015 ©2015
&lt;p&gt;Paragraph Tag&lt;/p&gt; <p>Paragraph Tag</p>
&#x2780
&half; ½
Comprehensive list of character entities
SAMPLE OF CHARACTER ENTITIY USE
ENTITIES APPEAR RED
SWEET CREPES

INGREDIENTS

  • 1 cup all-purpose flour
  • 2 large eggs
  • ½ cup milk
  • ½ TBS Vanilla Extract
  • ½ cup water
  • ¼ teaspoon salt
  • 2 TBS melted butter
  • 3 TBS sugar
DIRECTIONS
  1. In a medium to large mixing bowl combine eggs and flour using a wisk. While wisking, slowly add milk, water, vanilla extract. Continue to wisk until combined. Add salt sugar and melted butter, beat until smooth.
  2. Heat a lightly oiled skillet over medium heat, while tilting skillet to evenly spread batter pour about ¼ cup of batter into skillet
  3. Cook about 2 minutes gently ensure crepe releases from skillet with a spatula. When loose flip crepe and cook until golden brown. Keep warm in a 170° oven, serve hot.
Stack of crepes
Serve crepes with your favorite toppings. A few suggestions follow.
  • Fruit
  • Jellys & Jams
  • Ricotta Cheese
  • Honey
  • Nutella
  • Maple Syrup

©2015 Jim Gordley
518 Beeler Drive
Berea, Ohio 44017-2632