display property is used for controlling layout - HTML

Q.  Which CSS property is used for controlling the layout?
- Published on 19 Oct 15

a. header
b. display
c. footer
d. none of the above

ANSWER: display
 

    Discussion

  • Nirja Shah   -Posted on 05 Nov 15
    Display property
    - It is one of the most important CSS property for controlling layout.

    - It specifies if/how an element is displayed.

    - Depending on what type of element it is every HTML element has a default display value.

    - The default display value for most elements is block or inline.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)