Multiple choice technology web 2.0

What is the correct syntax of the declaration which defines the XML version?

  1. <xml version="1.0" />

  2. <?xml version="1.0"?>

  3. <?xml version="1.0" />

  4. <!xml version="1.0" />

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

The correct syntax for declaring the XML version is . It must start with without a closing slash.