Frontend Development

HELP! DIFFERENCE BETWEEN DIV CLASS AND DIV ID

Submitted by Avocat, , Thread ID: 61633

Thread Closed

RE: HELP! DIFFERENCE BETWEEN DIV CLASS AND DIV ID

vuchau
Lurker
Level:
0
Reputation:
0
Posts:
2
Likes:
0
Credits:
4
08-12-2017, 06:10 AM
This post was last modified: 08-12-2017, 06:10 AM by vuchau
#7
07-12-2017, 04:18 AM
prankycrank Wrote:
The difference is quite obvious usually ID is always unique so can use it only one element, but the class refers to a group with similar properties so you can use it with multiple elements.

Great, simple and full of meaning.

25-11-2017, 09:09 PM
luluxxx Wrote:
you can read the detail about class and id here https://css-tricks.com/the-difference-be...and-class/

Thanks for your shared.

Users browsing this thread: 1 Guest(s)