Intro to HTML & CSS – Part 5

In this tutorial we’ll look at the basics of adding styles to our HTML.

Part 5 – CSS : Cascading Style Sheets

HTML by itself can look boring. CSS allows us to change how to browser displays elements. There is a lot we can do with CSS, but the basics of how its done are all shown here.

The Tutorial of SafeYouTube


Source Code Files


<!doctype html>

  <meta charset="utf-8">
  <title>NerdArmy Journal</title>

    h1 { 
      background-color : red; 
      color : yellow; 
      font-size : 48px;
      font-family : Verdana, sans-serif; 

    h2 {
      border-bottom : 2px solid black;
      color : blue;
      font-size : 22px;
      font-family : Verdana, sans-serif;
      font-weight : bold;



  <h1>Welcome to the NerdArmy Journal</h1>
    This is NerdArmy's daily journal of life during the
    Cornovirus!  To learn more about me... <a href="aboutMe.html">click here</a>!

  <h2>April 1, 2020</h2>
  <p>I almost forgot about the greatest band of all-time</p>
  <a href="" target="_blank">
    <img src="images/ssrs.jpg" alt="Stickshift Rocketship" width="200px">

  <h2>March 30, 2020</h2>
    Here is a list of some of my favorite bands.
      <li><a href="" target="_blank">Van Halen</a></li>
      <li><a href="" target="_blank">Beastie Boys</a></li>
      <li><a href="" target="_blank">Led Zeppelin</a></li>



Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *