Basic Inline Styling

Lesson 2
Author : Afrixi
Last Updated : October, 2017


Table of Content

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>