Describe the rules and regulations that must be followed whereas creating a well-formed XML document.
The following are the rules and regulations that are essential to follow while creating a well-formed XML document:
Every start tag must end with an end tag.
A root element should be contained for enclosing other child elements.
XML tags are case-sensitive; thus, start and end tags must be of similar spelling and the casing should also be the same.
XML's empty tags are essential to close with a forward slash (/).
XML's attributes values are essential to enclose within double quotation marks.
XML tags must be properly nested. It means starting tags should be closed in the reverse order in which they present.
.