Html miscellaneous


  1. What is the format for character entity reference?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The format for character entity reference is &name; name is case-sensitive alphanumeric string and semicolon is necessary.


  1. For entity which term is used by XML?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    “character entity reference” term is not used by XML instead XML defines five “predefined entities” which are & [&], < [<], > [>], " [“] and ' [‘].



  1. Which entity is not defined in XML?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    There is only five entity in XML that are predefined and those are quot, It, gt, apos, amp. Copy is used in HTML, quot, apos, gt was first introduced by XHTML 1.0. Copy was first introduced by HTML 3.2. Unicode code point for copy is U+00A9.


  1. Which entity is not for both HTML and XML?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    cent is only HTML character entity. Other entities like quot, lt, gt, apos, amp are for the use of both HTML and XML. The Unicode point in Hex for apos is U+0027, for lt is U+003C, for cent is U+00A2, for quot is U+0022.



  1. Which entity is not for punctuation character?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    ´ is character entity and denote small a of latin language. ", ¶, ¬ are punctuation character entities. Number representation of " is ", ¶ is ¶, ¬ is ¬, ´ is ´.