1.

What is the format for character entity reference?(a) &name;(b) $name;(c) %name;(d) !name;This question was addressed to me in an online interview.The origin of the question is HTML 4.x and XHTML 1.x Character Entities in section HTML and XHTML Fundamentals of HTML

Answer» CORRECT answer is (a) &NAME;

Easy explanation: The format for character entity REFERENCE is &name; name is case-sensitive alphanumeric string and SEMICOLON is necessary.


Discussion

No Comment Found

Related InterviewSolutions