Menu
×
×
Correct!
Exercise:Set a border for <img> elements that have a
<style>
img@(15) {
border: 5px solid red;
}
</style>
<body>
<img src="klematis.jpg" title="blue flower">
<img src="klematis2.jpg" title="purple flowers">
<img src="klematis3.jpg" title="two blue flowers">
</body>
<style>
img[title~="blue"] {
border: 5px solid red;
}
</style>
<body>
<img src="klematis.jpg" title="blue flower">
<img src="klematis2.jpg" title="purple flowers">
<img src="klematis3.jpg" title="two blue flowers">
</body>
<style>
img[title*="blue"] {
border: 5px solid red;
}
</style>
<body>
<img src="klematis.jpg" title="blue flower">
<img src="klematis2.jpg" title="purple flowers">
<img src="klematis3.jpg" title="two blue flowers">
</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?