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


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">
        <title> 🐾 Pets R Us</title>
        <meta charset="utf-8">
            #header {
                background: url("dogs.jpg");
       <div id="header"><h1>Pets R Us</div>
       <a href="mailto:pets@rus.com">Email us today!</a>
Choose all answers that apply: