CSS - Style a Website
This course covers the basics of styling a website using CSS. Work your way through the videos and we'll teach you everything you need to know to style a basic website!

Basic Inline Styling

Lesson 2
Author : Mike Dane
Last Updated : October, 2017


Code

Copy<body style="color: blue; font-size:20px">
     <header>
          <h1 style="color: red;">CSS Tutorial</h1>
     </header>

     <main style="border: 1px solid black; width: 80%; max-width:500px">
          <p>This is a paragraph</p>
     </main>
</body>