Efficient Use of ID and Class Attributes in HTML


Use the id attribute for unique elements and the class attribute for elements that share styles across the document.

Source Code


Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments