Multiple choice

Which of the following is not the part of the character entity?

  1. Ampersand

  2. Semicolon

  3. Entity name or a# and an entity number

  4. Colon

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Character entities in HTML and XML follow the structure &name; or number; - they always start with an ampersand, contain an entity name or #number, and end with a semicolon. A colon is not part of the character entity syntax.