Which is the correct syntax to set the value of a CSS style attribute/property using the css() method?

81. Which is the correct syntax to set the value of a CSS style attribute/property using the css() method?

  1. css("propertyname"="value");
  2. css("propertyname","value");
  3. css("propertyname":"value");
  4. css("propertyname":="value");

Answer: B) css("propertyname","value");

Explanation:

The correct syntax to set the value of a CSS style attribute/property using the css() method is:

css("propertyname","value");

Comments and Discussions!

Load comments ↻






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