Multiple choice technology web technology

Among the following choose the best suitable answer 1. NO special characters are allowed while forming XML document 2. Only 5 characters are not allowed, they are < > & " '

  1. Only statement 1 is correct

  2. Only statement 2 is correct

  3. Both Statements are correct

  4. Both Statements are wrong

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

XML allows most special characters in content, but five characters have special meaning in XML syntax and must be escaped as entity references: < (as <), > (as >), & (as &), ' (as '), and " (as ").