Which is the correct XML declaration?

8. Which is the correct XML declaration?

  1. <xml version="1.0" encoding="UTF-8"/>
  2. <xml version="1.0" encoding="UTF-8"></xml>
  3. <?xml version="1.0" encoding="UTF-8"?>
  4. <?xml type="document" version="1.0" encoding="UTF-8"?>

Answer: C) <?xml version="1.0" encoding="UTF-8"?>

Explanation:

The correct XML declaration is:

<?xml version="1.0" encoding="UTF-8"?>

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.