Course Content
Introduction
Introduction to CSS course
0/1
CSS Syntax
0/1
CSS Selectors
0/1
CSS Unit of Measurements
CSS units are used to specify measurements for various properties such as length, width, margin, padding, font size, and more.
0/1
CSS Colors
CSS provides various ways to specify colors.
0/2
CSS Properties And Values
0/1
CSS Background
0/1
CSS Box Model
0/1
CSS Display
CSS display property is used to control how an element is displayed on the webpage.
0/3
Typography and Font Properties
0/1
CSS Display And Positioning
0/2
Responsive Design with CSS Media Queries
0/1

Display Property Values

Display Values Description Default Tags Example Usage
block Generates a block-level element that starts on a new line and takes up the full width available.It has Height and Width properties available.
,

,

to

,
    ,
  • ,
    , etc.
display: block;
inline Generates an inline element that flows within the text and does not start on a new line. It has NO Height and Width properties available. It simply fills up needed space. , , , , , , display: inline;
inline-block Generates an inline-block element that combines properties of inline and block elements. Has inline behavior but has Height and Width properties available as well.