Menu
×
×
Correct!
Exercise:Specify that the overflowed content for the <p> element should be signaled with an ellipsis (...).
<style>
p {
white-space: nowrap;
width: 200px;
border: 1px solid #000000;
overflow: hidden;
@(13): @(8);
}
</style>
<body>
<p>
This paragraph contains a very long word: supercalifragilisticexpialidocious.
</p>
</body>
<style>
p {
white-space: nowrap;
width: 200px;
border: 1px solid #000000;
overflow: hidden;
text-overflow: ellipsis;
}
</style>
<body>
<p>
This paragraph contains a very long word: supercalifragilisticexpialidocious.
</p>
</body>
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 138 exercises.
Are you sure you want to continue?