Examveda
Examveda

Which of the following property allows you to specify an element’s position with respect to the browser window?

A. relative

B. fixed

C. static

D. absolute

Answer: Option B

Solution(By Examveda Team)

The fixed value allows you to specify an element’s position with respect to the browser window. Elements with fixed positioning are always visible and do not scroll with the rest of the document. Like absolutely positioned elements, fixed-position elements are independent of all others and are not part of the document flow.

Join The Discussion

Related Questions on Document Object Model and Event Handling