When naming an ID or a Class after the # or the . can you create the reference? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

When naming an ID or a Class after the # or the . can you create the reference?

For example #question { and then your html would read <div id="question">

16th Sep 2016, 2:59 AM
Lewis Jones
Lewis Jones - avatar
2 Answers
+ 2
"would read"? No, you have to write that html. Your browser can't read your mind and guess what div is supposed to have the id "question".
16th Sep 2016, 9:38 AM
Zen
Zen - avatar
0
U mayor create a coment /* */ un tour conde CSS Will remembrer to you where you applied this style, ..
24th Sep 2016, 10:59 PM
Miguel Vargas González
Miguel Vargas González - avatar