Tricky CSS interview question

What will be the color of a paragraph in the following webpage:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <style>

      p {
        color: black;
      }

    </style>
    <link rel="stylesheet" href="style.css">
  </head>
  <body>

    <p>Hello, world!</p>

  </body>
</html>

style.css:

p {
  color: red;
}

Scroll down to see the answer :)

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

Correct answer: red

Easiest way to put something on the Internet (and lock it with a password). No registration required.

Turn off the light

 GitHub
© 2016-2024 Box2Unlock