1

Clearly there are two different types of character entities in HTML/XML.

There are the ones that are specified by numbers, i.e. < and >

And then there are the ones that are specified by letters, < and >

Is there a specific name for each of these types of character entities, or are they just "character entities that are specified by numbers and character entities that are specified by letters?

Matt Ball
  • 354,903
  • 100
  • 647
  • 710
leeand00
  • 25,510
  • 39
  • 140
  • 297

1 Answers1

1

These are numeric character references (<) and character entities (<).

Character entities are defined as a sequence of character references - for instance, nbsp is defined as  .

When processed, character entities are converted to the corresponding character references.

By the way - a character entity can be defined as more than one character reference, though this has not been done in XML or HTML.

Oded
  • 489,969
  • 99
  • 883
  • 1,009
  • so character entities are with the < and character references are the < ? – leeand00 Nov 30 '10 at 20:26
  • 1
    @leeand00 - Yup. Though, when processed, character entities get converted to character references (each is defined as a set of character entities). – Oded Nov 30 '10 at 20:28