Computer Science, asked by psatyam3871, 1 year ago

What are the rules to declare XML tags?

Answers

Answered by himanshim492p30o1x
0

hope this may help you

Attachments:
Answered by MrTSR
0

Rules to declare XML tags :-

- The document must have a consistent, well-defined structure.

- All attribute values must be quoted (single or double quotes).

- White space in content, including line breaks, is significant by default.

- All start tags must have corresponding end tags (exception: empty elements).

- The root element must contain all others, which must nest properly by start/end tag pairing.

- Elements must not overlap; they may be nested, however. (This is also technically true for HTML. Browsers ignore overlapping in HTML, but not in XML.)

- Each element except the root element must have exactly one parent element that contains it.

Similar questions