Report Bug

QusWhat 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.

Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad