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

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: 2 Guest(s)