Did you set the href attribute


#1

On linking the CSS file lesson on learn HTML and CSS I add and it crosses it off and says “did you set the href attribute?”


#2

Does your link element look something like this?

<link rel="stylesheet" type="text/css" href="styles.css"/>

Or like this?

<link rel="stylesheet" type="text/css" href="styles.css">

Both are valid, but some authors insist on the first.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.