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

CornCake
Novice
Level:
0
Reputation:
0
Posts:
20
Likes:
0
Credits:
0
26-10-2020, 09:02 PM
#17
id is a unique, so It can only use once while class can be use many times as you want. It's better to use class rather than id.

Users browsing this thread: 1 Guest(s)