Home » HTML » Html miscellaneous » Question
  1. What is the correct format of numeric character reference?
    1. $*nnnn;
    2. #nnnn;
    3. &nnnn;
    4. &#nnnn;
    5. None of these
Correct Option: D

Numeric character reference uses the format &#nnnn, nnnn represents decimal format. We can also use hhhh in place of nnnn for hexadecimal form and its syntax will be like &#xhhhh; In XML documents use &#xnnnn; semicolon is mandatory.



Your comments will be displayed only after manual approval.