×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which is the correct syntax to declare a variable 'myfonts' assigning the two font names?

4. Which is the correct syntax to declare a variable "myfonts" assigning the two font names?

  1. $myfonts: Helvetica, sans-serif;
  2. $myfonts: Helvetica, and sans-serif;
  3. $myfonts: "Helvetica, sans-serif";
  4. $myfonts: "Helvetica+sans-serif";

Answer: A) $myfonts: Helvetica, sans-serif;

Explanation:

The correct syntax to declare a variable "myfonts" assigning the two font names is,

$myfonts: Helvetica, sans-serif;

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.