159k views
1 vote
What is the html attribute that a developer can use to uniquely identify each document element?

User Jerry Gao
by
6.1k points

1 Answer

7 votes
The id attribute requires a unique string to identify the element.
User Derek Lawless
by
7.3k points