Menu
×
×
Correct!
Exercise:Add 25 pixels space between the <div> element's border and it's content.
<style>
div {
width: 200px;
border: 2px solid red;
@(7): 25px;
}
</style>
<body>
<div>
Lorem ipsum dolor sit amet,
consectetur adipiscing elit,
sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua.
</div>
</body>
<style>
div {
width: 200px;
border: 2px solid red;
padding: 25px;
}
</style>
<body>
<div>
Lorem ipsum dolor sit amet,
consectetur adipiscing elit,
sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua.
</div>
</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?