Flash and XML[c] A Developer[ap]s Guide
The end tag functions exactly like a right parenthesis or a closing quotation mark or a right curly brace . It contains no data of its own; it simply ends the most recent (innermost) tag with the same name . XML requires a matching end tag for each start tag. Not only must they have matching names , but they must also nest properly. The most recently encountered start tag must be paired with the next end tag. If they do not match, it is a fatal error. Syntax
The end tag contains exactly the same name as the start tag it closes . Simple punctuation distinguishes it from the start tag: XML
</TAG> It cannot include attribute assignments or any other content. Rules
Each end tag must have
Alternatively, in the special case of an empty element, the end tag may be fused with the start tag. This results in an empty tag containing
Examples of End Tags
Bad Examples
|