why we should start with id number? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
- 1

why we should start with id number?

7th Jul 2016, 5:40 AM
Gift Godson
Gift Godson - avatar
6 Réponses
+ 2
could you precise you question ?
8th Jul 2016, 4:41 PM
Michal Kucharski
Michal Kucharski - avatar
0
Start what?
7th Jul 2016, 6:44 PM
ZinC
ZinC - avatar
0
when u specify the tags like p,div,h1 or any tags, u specify them with the Id or class, when u specify class u use .classname same way with id u use #idname, followed by flower brackets n properties of design.
10th Jul 2016, 4:33 AM
Sachin Rudresh
Sachin Rudresh - avatar
0
I tend to give the different sections (header, section, aside etc) an id each, and use classes for the various elements embedded within them.
11th Jul 2016, 4:39 AM
Mike Tucker
Mike Tucker - avatar
0
because it works like giving many different ways to single selector
12th Jul 2016, 10:55 AM
jayanthan jayaram
jayanthan jayaram - avatar
- 2
because it's strong than class
9th Jul 2016, 6:45 PM
Nilesh Bhongale
Nilesh Bhongale - avatar