Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

drag the correct entry to the empty box in the code sample to set the o…

Question

drag the correct entry to the empty box in the code sample to set the overflow property and add a scrollbar.
overflow:scroll;
text-overflow: scroll;
overflow:scrollbar;
text:scroll;
#coral {
background-color: lightcoral;
border: 1px solid black;
width: 250px;
height: 250px;
/max-width: 500px/
position: relative;
top: 100px;

}
cmetrix

Explanation:

Brief Explanations

In CSS, the overflow: scroll; property is the correct declaration to add scrollbars to an element when its content exceeds its set width/height. The other options are invalid: text-overflow: scroll; is not a valid value for text-overflow, overflow:scrollbar; uses an incorrect value, and text:scroll; is not a valid CSS property.

Answer:

overflow:scroll;