Linking an HTML file to a CSS file

Introduction

This tutorial describes how to link a new CSS file to your HTML file using a text editor called Notepad++.

Running time: 5min 48sec
File size: 6.0MB

Summary

  1. Create a new CSS file and add some rules.
  2. Add a link tag to the head section of the HTML file.
  3. Preview in a browser.
  4. Continue to edit and preview the HTML and CSS files until your web page is complete.

Copyright David Watson 2005–2024
XHTML, CSS