Observe the given DTD: <?XML version ="1.0"?> <!DOCTYPE SITES[ <!ELEMENT SITES…

NVS Computer Science / IT Teacher Recruitment · Computer Science · 2017

Observe the given DTD: <?XML version ="1.0"?> <!DOCTYPE SITES[ <!ELEMENT SITES (SITES +)> <!ELEMENT SITE (ADDRESS UTILITY)> <!ELEMENT ADDRESS (#PCDATA)> ]> Choose the statement that is true about the above DTD.

  1. A.

    ADDRESS AND UTILITY elements are empty elements.

  2. B.

    Root element is SITE which in turn contains two sub-elements.

  3. C.

    Element ADDRESS and UTILITY both are to be present in specified order.

  4. D.

    The SITE element is optional.

Attempted by 371 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…