If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Validating HTML

Problem

Which line of HTML/CSS in the following webpage is invalid? Paste the HTML in http://validator.w3.org to see what it says.
<!DOCTYPE html>
<html lang="en">
    <head>
        <title> 🐾 Pets R Us</title>
        <meta charset="utf-8">
        <style>
            #header {
                background: url("dogs.jpg");
            }
        </style>
    </head>
    <body>
       <div id="header"><h1>Pets R Us</div>
       <a href="mailto:pets@rus.com">Email us today!</a>
    </body>
</html>
Choose all answers that apply:
Choose all answers that apply:
Stuck?
Stuck?