Vidyalelo
JavaScript · Q62

Server

Programming · JavaScript · question 62

Q62

What are the properties supporting CSS styles for a document element?

A.
style and font
B.
style and className
Answer
C.
size and style
D.
className and font

Answer: Option B

Solution

Answer: Option B
Solution:
Each Element object has style and className properties that allow scripts to specify CSS styles for a document element or to alter the CSS class names that apply to the element.