Home » HTML » HTML CSS » Question
  1. Which of the following specifies what happens if content overflow an element’s box?
    1. overflow-y
    2. float
    3. overflow-x
    4. overflow
    5. None of these
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.



Your comments will be displayed only after manual approval.