Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Difference between the id and class selectors
I'm trying to understand the two types of selectors.Can someone help me give a more clear explanation?
3 Respostas
+ 2
You use id only once.
Hope this snippet helps
https://code.sololearn.com/WRpw23sM9odk/?ref=app
+ 2
id must be unique value in a file , applied to single time to a element where as class can applied to various tags as many times as you want...
+ 1
Basically think of a house š = I'd
Which is basically the house address
And class is like who lives inside of it