" + html; } html = html.replace("",""); html = html.replace("",""); html = html.replace("",""); html = html.trim(); doc.innerHTML = html; return ( doc.innerHTML.toLowerCase() === html.toLowerCase() ); } function codeCheckWarningClose() { document.getElementById("codeCheckWarning").style.display = "none"; } function codeCheckCorrectClose() { document.getElementById("codeCheckCorrect").style.display = "none"; }
Menu
×
×
Correct!
Exercise:The image border needs a
<style>
div {
border-image-source: url(border.png);
border-image-repeat: @(7);
border-image-slice: 30;
}
</style>
<body>
<div>This is a div element. It has some text.</div>
</body>
<style>
div {
border-image-source: url(border.png);
border-image-repeat: stretch;
border-image-slice: 30;
}
</style>
<body>
<div>This is a div element. It has some text.</div>
</body>
<style>
div {
border-image-source: url(border.png);
border-image-repeat: repeat;
border-image-slice: 30;
}
</style>
<body>
<div>This is a div element. It has some text.</div>
</body>
<style>
div {
border-image-source: url(border.png);
border-image-repeat: round;
border-image-slice: 30;
}
</style>
<body>
<div>This is a div element. It has some text.</div>
</body>
<style>
div {
border-image-source: url(border.png);
border-image-repeat: space;
border-image-slice: 30;
}
</style>
<body>
<div>This is a div element. It has some text.</div>
</body>
<style>
div {
border-image-source: url(border.png);
border-image-repeat: initial;
border-image-slice: 30;
}
</style>
<body>
<div>This is a div element. It has some text.</div>
</body>
<style>
div {
border-image-source: url(border.png);
border-image-repeat: inherit;
border-image-slice: 30;
}
</style>
<body>
<div>This is a div element. It has some text.</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?