Answer & Solution
Answer: Option A
Solution:
You can hide an HTML element using JavaScript without affecting its layout position by setting its display property to "none". This removes the element from the layout, effectively hiding it without leaving empty space where the element was.