Beginner HTML & CSS
Q8 / 100

How do you link an external CSS file to an HTML document?

Correct! Well done.

Incorrect.

The correct answer is B) <link rel="stylesheet" href="style.css">

B

Correct Answer

<link rel="stylesheet" href="style.css">

Explanation

A <link> element with rel="stylesheet" and an href pointing to the CSS file is placed in the <head> to apply external styles.

Progress
8/100