0

Difference between

What is the difference between id and class in html...

4th Jan 2017, 6:58 PM
Aman Kumar Jha
Aman Kumar Jha - avatar
2 Respostas
+ 9
Each element can have only one id but can belong to many classes...
4th Jan 2017, 7:00 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 2
id is unique example #nav #body ... but class can be repeated example .pera1 .para2 .h1 .......
4th Jan 2017, 8:13 PM
Abdel
Abdel - avatar