But there's an even better way.
You know you should write your CSS in a totally separate file. But how do you make sure your HTML file can see that CSS information?
You do this by putting a
<link> tag (as you saw in the first exercise of this course) between the
<head>...</head> tags of your HTML page. Your
<link> tag needs three attributes:
typeattribute that should always be equal to
relattribute that should always be equal to
hrefattribute that should point to the web address of your CSS file
In the editor to the right, you'll see two files: