Adding CSS to your webpage

How do I connect a CSS stylesheet to an HTML webpage? In this lesson, you'll learn:

  • The reason we have separate HTML and CSS files
  • The purpose of HTML vs the purpose of CSS
  • Why it's good to keep content (HTML) separate from presentation (CSS)

By the end of this lesson you'll know how to code:

  1. The LINK tag (to connect an external CSS stylesheet to your webpage)
  2. The REL and TYPE attributes (to describe the CSS stylesheet)
  3. The HREF attribute (to specify where to find the CSS stylesheet)

Complete and Continue  
Discussion

1 comments