0

What's different between # and .

21st Aug 2016, 1:31 PM
Ahmed Mardawi
Ahmed Mardawi - avatar
4 Answers
+ 1
. is for a classname and # is for the ID...but the # is also could be use as an indicator/reminder that this css code(ID) was a unique one and its dedicated only to be used for the specific html code. @from my html professor
5th Oct 2016, 10:22 AM
Rhoshielamie Libuna
Rhoshielamie Libuna - avatar
0
. selects class, # selects ID
9th Sep 2016, 1:16 PM
Dillon Bat
Dillon Bat - avatar
0
# is for id and . is for classname
13th Sep 2016, 6:06 PM
Prince Aravi
Prince Aravi - avatar
0
# selects property and . selects the value
3rd Oct 2016, 9:04 PM
Aboulkacem Ghaith Houimel
Aboulkacem Ghaith Houimel - avatar