Multiple choice technology web technology

XML preserves white spaces

  1. True

  2. False

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

Unlike HTML, which typically collapses whitespace, XML preserves all white spaces in element content. Applications parsing XML receive the exact spacing written by the author unless explicitly trimmed.