Why doesn't margin-top or margin-bottom add space around an inline element?
Inline elements only respect horizontal margins (left and right). Vertical margins do not affect line height or spacing between lines.
💡 Use padding or change display to block/inline-block to add vertical space.
Why does adding width or height to an inline element not work?
Inline elements ignore width and height properties because they size to their content and flow with text lines.
💡 Change display to inline-block or block to control width and height.
Why does an inline element not start on a new line?
Inline elements flow inside lines of text and do not create line breaks by default.
💡 Use block elements or add CSS like display:block to start on a new line.