Syntax | selector {display: value;}
|
---|---|
Usage | The display property is used to specify the type of box that the element should use. This information is used to determine the manner in which the element is laid out and displayed. For example, a block element could be displayed as an inline element by specifying a value of inline. An element can also be prevented from being displayed by specifying a value of none. This property is specified by using a keyword according to the syntax shown above. |
Keywords |
|
Applies To | All elements |
Inherited | No |
Initial Value | inline |