Charo has created the following CSS class selector to make some text 14 pixels large. Her HTML is correct, but the class is still not working. Why? #date { fontsize: 14 pixels; }

  • She is using the wrong character in her selector for a CSS class.
  • Her syntax for the 14 pixels value is incorrect.
  • Her syntax for fontsize is incorrect.
  • All of the above

EXPLANATION

Charo needs to fix three errors in her CSS class selector syntax before the style will work. She used the wrong type of CSS class selector; her syntax for the fontsize property is incorrect; and her syntax for the 14 pixels value is incorrect.

Corrected code example:
.date {
font-size: 14px;
}

Share on:
Online Certification Guide

About Author

Hey there, its OnlineCertificationGuide here to help you out in your Journey in the study. So my friend share the site with your friends in case I am helpful to you.