Multiple choice technology programming languages

Which of the following are true in case of XML

  1. XML Enforces Strict Type Checking

  2. XML are strictly non-extendable

  3. XML replaces the old HTML

  4. XML extends HTML

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

Option A is correct: when used with XSD schemas, XML enforces strict data type checking on elements and attributes, which is one of XML's key advantages over looser formats. Option B is incorrect because XML was designed specifically to be extensible - developers can create custom tags and structures. Option C is incorrect because XML doesn't replace HTML; they serve different purposes (data vs. presentation). Option D is incorrect because XML doesn't extend HTML - XHTML does, but plain XML and HTML are separate specifications.