Attributes and Their Values

Most tags can be further specified through attributes. These are written inside the opening tag's angled brackets, and their values sit inside quotation marks. For example, in the tag <div type="page">, the tag's attribute is named type, and the attribute's value is page. In texts such as this manual, when attributes are taken outside of the context of their tags, they are preceded by an at sign (@) For the previous example, this would mean that the attribute in the <div type="page"> tag is @type). You can find all the possible attributes a tag can have in the validation information at the top of its description.

Important!

Some attributes are optional, others are necessary. In this manual, when we give you an illustrative example, we will not always write down all the necessary attributes. To make things a little more readable, we will often use <add></add> or <del></del> rather than write them out in full. These shortcuts are meant for the purpose of this tutorial only. If you are in doubt as to which attributes are optional, and which attributes are obligatory, please refer to the specific and more detailed section of the tag in question. In their 'Validation Information' tables, obligatory attributes are rendered in blue, while optional attributes will be rendered in black.