HTMLTags\Tag Element

Description

A single identification HTML tag. An HTML element type for which the information in the Identification element is relevant.

Important Information

Creating a Tag element named XXX is equivalent to defining a Condition element that  checks whether the tagName property is equal to XXX

However, using a Tag element instead of a Condition element provides better performance.

Attributes

NameTypeUseDefaultDescription
namestringrequired The name of the HTML tag.

Used By

Source

<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Tag" maxOccurs="unbounded">
    <xs:annotation>
        <xs:documentation>A single identification HTML tag. An HTML element type for which the information in the Identification element is relevant.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:attribute name="name" type="xs:string" use="required">
            <xs:annotation>
                <xs:documentation>The name of the HTML tag.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
</xs:element>