HTML Lesson: Lines, Borders, and Padding

Main Points

  • Borders can make organizing text on a website much easier and make more sophisticated design.
  • To add space between objects you using padding
    padding: 15px;
    padding-top: 15px;
  • To add borders you use the border property
    border: 15px;
    border-bottom: 10px;
  • Make sure after adding any property in your CSS file you close each line with a semicolon.

View the Code!