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

masterems
Newbie
Level:
0
Reputation:
0
Posts:
10
Likes:
0
Credits:
20
10-04-2018, 03:08 AM
#11
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.

Its is a best response. ID always unique and is to use on one element.

Users browsing this thread: 1 Guest(s)