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

Giao Linh

New member
What are the properties supporting CSS styles for a document element?
A. style and font
B. style and className
C. size and style
D. className and font
 
Answer: b
Explanation: 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. firstChild returns the first child node as an element node, a text node or a comment node (depending on which one’s first).
 

Tìm kiếm

Back
Top