| ELEMENT tag | |
| ELEMENT tag | |
| 
            An ELEMENT tag contains: 
 An element can have any of the following five kinds of content. 
 We will look at each of these five kinds of ELEMENT tags. | |
| element content | |
| single elementAn element can be specified to only contain one other element. 
            In the source of the example to the left, you can see: | |
| sequence of elements, in orderAn element can be specified to contain a sequence of elements, in order. 
            In the source of the example to the left, you can see: | |
| choiceAn element can be specified to contain one element from a set of choices. 
            In the source of the example to the left, you can see: | |
| parenthesesParentheses can be used to put a choice within a sequence, or other similar constructions. 
            In the source of the example to the left, you can see: | |
| repetitionAn element or parentheses can be followed by a repetition mark. The repetition marks are: 
 
            In the source of the   ? zero or one   example to the left, you can see: 
            In the source of the   * zero or more   example to the left, you can see: 
            In the source of the   + one or more   example to the left, you can see: | |
| text content | |
| textAn element can be specified to only contain text. 
            In the source of the example to the left, you can see: | |
| mixed content | |
| mixedAn element can be specified to contain a mixture of text and elements. 
            In the source of the example to the left, you can see: | |
| empty | |
| emptyAn element can be specified as EMPTY. 
            In the source of the example to the left, you can see: | |
| any | |
| anyAn element can be specified as ANY. 
            In the source of the example to the left, you can see: | |