block display mode?block display mode have on an element?Block elements take up the full width and start on a new line, pushing content below them. This is why block display mode makes elements behave like paragraphs or divs.
The inline class sets the display to inline, making the element flow with text and other inline elements.
inline and inline-block display modes?inline and inline-block. What is the key visual difference you will see in the browser?inline-block elements behave like inline elements but allow setting width and height. inline elements ignore width and height settings.
flex makes the container a flexbox. flex-col sets the direction to column, stacking items vertically.
Some display modes can hide elements or change their flow, making it impossible for keyboard users to reach them with tab keys. Proper display ensures all interactive elements are accessible.
