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 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2024 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz