The !ATTLIST Statement
Every element can have a set of attributes associated with it. The attributes for an element are defined in an !ATTLIST statement. The format for the !ATTLIST statement is shown here:
<!ATTLIST ElementName AttributeDefinition> |
ElementName is the name of the element to which these attributes belong.
AttributeDefinition consists of the following components:
AttributeName AttributeType DefaultDeclaration |
AttributeName is the name of the attribute. AttributeType refers to the data type of the attribute. DefaultDeclaration contains the default declaration section of the attribute definition.