string getAttName(int $index)
•Returns an attribute of the tag, specified by $index. The first attribute has an index of 1. An index of 0 returns the current tag name.
•Generates an error if the attribute at $index does not exist.