🎴 Flashcard Mode
Basic XML Quiz
Card1 / 10
Mastered0
Review0
QuestionClick to flip
XML preserves white spaces
AnswerClick to flip back
A
True
💡 Explanation:
XML preserves whitespace in element content by default, unlike HTML which collapses multiple spaces. This means spaces, tabs, and newlines within elements are maintained as part of the document's character data. The xml:space attribute can further control whitespace handling in specific elements.