Multiple choice technology web technology

1) DTD - Document Type Definition is to provide a framework for validating XML documents 2) DTDs are simple text files that can be created with any basic text editor 3) A DTD outlines what elements can be in an XML document and the attributes and sub elements that they can take 4) The DOCTYPE declaration in an XML document specifies the DTD to which it should conform Considering the above, choose the best suitable answer

  1. Statement 2, 4 are correct

  2. Statement 1, 4 are correct

  3. Statement 1, 3 are correct

  4. Statement 1, 2, 3 ,4 are correct

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

All four statements are correct. DTDs provide a validation framework, are plain text files, outline elements/attributes, and are specified in the XML document's DOCTYPE declaration.