Question discussion

Which of the following is a valid syntax for the XML element in a DTD?

3280Medium DSSSB TGT Computer Science 0 replies 1 views
0

Which of the following is a valid syntax for the XML element in a DTD?

  • A<!ELEMENT element-name category>
  • B<!ATTLIST element-name attribute-name attribute-type attribute-value>
  • C<#ELEMENT element-name category>
  • D<!ENTITY entity-name "entity-value">
Correct answer: A

Explanation

In a DTD, an element is declared with <!ELEMENT element-name category>.

Discussion 0

Nobody has replied yet. Start the discussion!