Topic: CSS Basics
Preview
To link a CSS file to an HTML file, use the link element with the rel and href attributes.
<link rel="stylesheet" href="main.css">
To view the full tutorial, sign up for a free trial on our Sign Up page.