Menu
×
×
Correct!
Exercise:Specify that text in the <p> element should wrap, even if it needs to split in the middle of a word.
<style>
p {
width: 150px;
border: 1px solid #000000;
@(9): @(10);
}
</style>
<body>
<p>
This paragraph contains a very long word: supercalifragilisticexpialidocious.
</p>
</body>
<style>
p {
width: 150px;
border: 1px solid #000000;
word-wrap: break-word;
}
</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?