Microsoft
98-375 · Question #58
98-375 Question #58: Real Exam Question with Answer & Explanation
Sign in or unlock 98-375 to reveal the answer and full explanation for question #58. The question stem and answer options stay visible for context.
Question
You are creating a page by using HTML5. You add script tags to the page. You need to use JavaScript to access an element by id and add a class to the element. Which property or attribute should you use?
Options
- Athe tagName property
- Bthe className property
- Cthe style property
- Dthe class attribute
Unlock 98-375 to see the answer
You've previewed enough free 98-375 questions. Unlock 98-375 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.