...
Question 7881 – Theory-of-Computation
April 16, 2024
NTA UGC NET Dec 2023 Paper-1
April 16, 2024
Question 7881 – Theory-of-Computation
April 16, 2024
NTA UGC NET Dec 2023 Paper-1
April 16, 2024

NVS PGT CS 2017 Part-B

Question 3
An element in an XML DTD having no content is known as.
A
unrestricted element
B
Container element
C
Empty element
D
Null element
Question 3 Explanation: 
Empty elements are declared with the category keyword
EMPTY:
&l; !ELEMENT element-name EMPTY >
Example:
< !ELEMENT br EMPTY >
XML example:
< br / >
Correct Answer: C
Question 3 Explanation: 
Empty elements are declared with the category keyword
EMPTY:
&l; !ELEMENT element-name EMPTY >
Example:
< !ELEMENT br EMPTY >
XML example:
< br / >

Leave a Reply

Your email address will not be published. Required fields are marked *