XML data is a serial stream. The start tag informs the receiving software that all the incoming data will belong to this element until the matching end tag is encountered. Very often, more start tags are encountered before the end tag. Each start tag must be matched with its own end tag before the previous start tag can be matched. SyntaxA start tag is simply an element name framed by angle brackets: XML<TAG> If the element has attributes assigned to it, they belong within the start tag. An element can have multiple attributes, but they must be unique: XML<TAG attribute="value"> Space is forbidden between the opening bracket and the name. It is required before each attribute assignment. It is optional before the end bracket . Start tags should look familiar to anyone who has worked with HTML. RulesEach start tag must have
Additionally, every start tag may contain:
Examples of Start Tags
Bad Examples
![]() |