main is a tag
.main is a class and
#main is an id → what did you use and what should you have used?
Sorry I can’t get what you are trying to say
h1 and the p are the html tags not the class or an id.
You do not need to put any . or a comma before the h1 or p.
Learn more about classes and id in css.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.