Multiple choice

Which of the following is true in case of DTD's?

  1. These are the ways to create templates for out does type and follow inheritance principle.

  2. It is a document type declaration in XML.

  3. It is a part of name spaces.

  4. These are the ways to create templates for out does type and don't follow inheritance principle.

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

DTDs (Document Type Definitions) define templates for document structure but do not follow inheritance principles like XML Schema does. The option text has typos ('out does type' should be 'document type'), but the core concept is correct. DTDs are older and simpler than XML Schema, lacking features like inheritance and data types.