
Shobha
The best way to predict the future is to invent it
What is the purpose of the display property?
The display property defines how an element is rendered in the document. It controls layout and visibility of elements. Common values include:
block: Displays as a block-level element.
inline: Displays as an inline element.
flex and grid: Enable Flexbox and Grid layouts.
block: Displays as a block-level element.
inline: Displays as an inline element.
flex and grid: Enable Flexbox and Grid layouts.