So if we want to find that element by id, it should return one element. In case you’re needing to correct for possible capitalization inconsistencies in your data attributes, the attribute selector has a … HTML tag. HTML5 is designed with extensibility in mind for data that should be associated with a particular element but need not have any defined meaning. LIKE US. The active link changes the color of the link the moment it is clicked by a user. In CSS we define the id with # hashtag, and in html we set that id… If the id value is not the empty string, it must be unique in a document.. The value of this attribute must be the id attribute of a