Multiple choice xml

The DOM specification describes how strings are to be manipulated by the DOM by defining the datatype ____. It is encoded using ____ encoding scheme.

  1. DOMString, UTF-8

  2. DOMString, Unicode

  3. UNICODEString, Unicode

  4. String, Unicode

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

The Document Object Model (DOM) defines the 'DOMString' type for handling text. According to the W3C specification, these strings are sequences of 16-bit units using the Unicode encoding scheme, allowing for international character support.