Report Bug

QusWhich of the following is true about the CSS box model? QusCSS बॉक्स मॉडल के बारे में इनमें से कौन-सी बात सही है?


A. It consists of Margin, Padding, Border, Content
B. It consists of Padding, Border, Shadow
C. It consists of Content, Outline, Shadow
D. It consists of Border, Margin, Shadow


Solution
A. It consists of Margin, Padding, Border, Content



Explanation
<div><span style="font-size: 14px;">The CSS Box Model describes how every HTML element is represented as a rectangular box. It consists of the following four parts (from inside to outside):</span></div><div><span style="font-size: 14px;"><br></span></div><div><span style="font-size: 14px;">Content – The actual text, image, or other content inside the element.</span></div><div><span style="font-size: 14px;">Padding – Space between the content and the border.</span></div><div><span style="font-size: 14px;">Border – The border surrounding the padding and content.</span></div><div><span style="font-size: 14px;">Margin – The outermost space outside the border, separating the element from other elements.</span></div><div><span style="font-size: 14px;"><br></span></div><div><span style="font-size: 14px;">Order of the CSS Box Model:</span></div><div><span style="font-size: 14px;"><br></span></div><div><span style="font-size: 14px;">Margin</span></div><div><span style="font-size: 14px;">&nbsp;└── Border</span></div><div><span style="font-size: 14px;">&nbsp; &nbsp; &nbsp; └── Padding</span></div><div><span style="font-size: 14px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;└── Content</span></div>
Latest Current Affairs 2026 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