MCQ Answer

What is the purpose of the CSS property position: relative;?

What is the purpose of the CSS property position: relative;?

सीएसएस संपत्ति स्थिति का उद्देश्य क्या है: सापेक्ष;
Topic : Properties in CSS

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 सभी चाइल्ड तत्वों पर सापेक्ष स्थिति लागू करता है




Correct Answer is :

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.

CCC Online Test 2021 CCC Practice Test Hindi 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