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++.

The Camtasia Studio video content presented here requires a more recent version of the Adobe Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.

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–2017
XHTML, CSS