+ 1

What does class attribute means ?

why we use class="selected" or class = "section"

22nd Sep 2017, 12:50 PM
Ruchika Pahari
Ruchika Pahari - avatar
1 Réponse
+ 2
You can select specific elements in css or js with their classes. They also have semantic meaning...or at least should.
22nd Sep 2017, 12:57 PM
Rose Sevenyears
Rose  Sevenyears - avatar