Answer & Solution
Answer: Option A
Solution:
You can hide an HTML element using JavaScript without modifying its CSS properties directly by using the setAttribute() method to set display: none; on the element. For example, element.setAttribute("style", "display: none;"); will hide the element without affecting its CSS class or inline styles.