-
Which of the following specifies what happens if content overflow an element’s box?
-
- overflow-y
- float
- overflow-x
- overflow
- 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.