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:
- The DIV tag (in HTML, to identify sections of content)
- The ID attribute (in HTML, to label content on a webpage)
- The DIV selector (in CSS, to specify styles that apply to DIVs)
- The BORDER-WIDTH, BORDER-STYLE, and BORDER-COLOR attributes (in CSS, to specify how a border looks)
0 comments