What are the basic rules while writing XML?

10 months ago
Web Technology

There are the basic rules for writing the XML:

  • All XML should have a root element
  • All tags should be closed
  • XML tags are case sensitive
  • All tags should be nested properly
  • Tag names cannot contain spaces
  • Attribute value should appear within quotes
  • White space is preserved 
Rajiv Shah
Sep 29, 2021

Questions Bank

View all Questions