0
What's different between # and .
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
0
. selects class, # selects ID
0
# is for id and . is for classname
0
# selects property and . selects the value