" + 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:Position the two background images in each top corner.
<style>
body {
background-image: url('img1.gif'), url('img2.gif');
background-repeat: no-repeat, no-repeat;
@(19): @(8), @(9);
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
<style>
body {
background-image: url('img1.gif'), url('img2.gif');
background-repeat: no-repeat, no-repeat;
background-position: left top, right top;
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
<style>
body {
background-image: url('img1.gif'), url('img2.gif');
background-repeat: no-repeat, no-repeat;
background-position: top left, right top;
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
<style>
body {
background-image: url('img1.gif'), url('img2.gif');
background-repeat: no-repeat, no-repeat;
background-position: top left, top right;
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
<style>
body {
background-image: url('img1.gif'), url('img2.gif');
background-repeat: no-repeat, no-repeat;
background-position: left top, right top;
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</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?