Previous Lecture Complete and continue  

  Dividing sections of content using DIVs

How do you separate different sections of your webpage using HTML and CSS? In this lesson, you'll learn:

  • How to divide your webpage layout into different "sections"
  • How to format your HTML code with tabs for better legibility
  • How to add temporary borders to DIVs to help you understand how your DIVs are positioned on your webpage

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

  1. The DIV tag (in HTML, to identify sections of content)
  2. The ID attribute (in HTML, to label content on a webpage)
  3. The DIV selector (in CSS, to specify styles that apply to DIVs)
  4. The BORDER-WIDTH, BORDER-STYLE, and BORDER-COLOR attributes (in CSS, to specify how a border looks)

Discussion
0 comments