Report Bug
Qus : What is the purpose of the CSS property position: relative;?
Qusसीएसएस संपत्ति स्थिति का उद्देश्य क्या है: सापेक्ष;

A. Removes the element from the document flow
B. Positions the element relative to its normal position
C. Centers the element on the page
D. Applies relative positioning to all child elements


Solution
B. Positions the element relative to its normal position



Explanation

The CSS property position: relative; is used to adjust the position of an element relative to its normal position within the document flow. When you apply position: relative; to an element, it remains within the document flow, but you can then use the top, right, bottom, and left properties to move it relative to where it would normally be placed.




Report Bug