HTML CSS


  1. Which of the following can’t be the value of a clear property?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    clear property specifies what elements can float beside cleared element and on which side. It can hold the values none, left, right, both and inherit. The inherit property inherits the clear value of its parent when setting to both no floating elements allowed on either the left and right side.


  1. Which of the following was not previous layout mode?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Before Flexbox layout module there were four layout modes. Block, Inline, Table, Positioned. Block is for sections in a webpage, inline is for text, table is for two dimensional table data, positioned is for explicit position of an element.



  1. Which of the following specifies what happens if content overflow an element’s box?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    overflow property specifies what happens if content overflows an element’s box, overflow-x specifies what to do with left/right edges of the content if it overflows the element’s content area, overflow-y specifies what to do with top/bottom edges of the content if it overflows the element’s content area.


  1. Which property defines in which direction the container wants to stack flex items?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    flex-direction property defines in which direction the container wants to stack the flex items, the flex-flow property is shorthand property for setting both flex-direction and flex-wrap properties. For deciding whether the flexible items should wrap or not, flex-wrap property is used.



  1. Which of the following can’t be the value of float property?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    float property can have the property left, right, none, inherit. When set to inherit value the element inherits the float value of its parent, when set to none property the element does not float, it is the default value.