Multiple choice technology web technology

An XML document must contain all elements declared in the DTD

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A DTD declares all possible elements that MAY appear in an XML document, but it doesn't require that every declared element must actually be used in every instance. An XML document only needs to contain the elements it actually uses.