View Single Post
Old 09-06-2016, 01:56 AM   #11
SaraSanjay
Registered User
 
Join Date: May 2016
Posts: 551
ID's
ID, short for fragment identifier, is a beautiful attribute, but it's very easy to use them improperly. You can only use an ID name once in any XHTML or HTML document.

Classes
Classes, like ID's, can also be used to in JavaScript scripts, but unlike ID's, they can be used multiple times in the same HTML document.
__________________
SaraSanjay is offline   Reply With Quote