Finance Certifications Goldman Sachs & Amazon Teams Trust
Learn Generative AI, Prompt Engineering, and LLMs for Free
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Learn how the CSS display property controls element behavior through this 15-minute tutorial covering block, inline, inline-block, and none values. Explore how block elements take up full width and stack vertically, while inline elements flow horizontally within text content. Discover the differences in how padding, border, and margin properties affect each element type, with block elements respecting all spacing properties and inline elements having limitations with vertical spacing. Master the inline-block value that combines characteristics of both block and inline elements, allowing elements to sit side-by-side while maintaining block-level spacing control. Understand when and how to use display: none to completely hide elements from the page layout, and get an introduction to CSS layout modes for building more complex designs.
Syllabus
- the display property
- block elements
- inline elements
- block vs inline
- inline-block
- display: none
- Layout Modes
Taught by
Coder Coder