What is the code snippet to change the class and let the stylesheet specify the details?

Thu Ha

New member
What is the code snippet to change the class and let the stylesheet specify the details?
A. timestamp.className = "highlight";
B. timestamp.className = "change";
C. timestamp.className = "specify";
D. timestamp.className = "move";
 
Answer: a
Explanation: "typename" is a keyword in the C++ programming language used when writing templates. The above code snippet changes the class and lets the stylesheet specify the details.
This set of JavaScript Questions and Answers for Entrance exams focuses on “Lazy Loading – II”.
 

Tìm kiếm

Back
Top