ATTLIST
ATTLIST is a declaration used in SGML and XML document type definitions (DTDs) to specify the attributes for a particular element. It defines the attribute names, their data types, and how they default or require values, providing a mechanism for validating attribute usage in a document.
Syntax and components. The typical syntax is: <!ATTLIST element-name attribute-name AttType DefaultDecl>. AttType denotes the attribute's
Types and examples. Common attribute types include CDATA for free text, ID for a unique identifier, and
Role and scope. ATTLIST declarations constrain attribute usage for their element, supporting data validation and document