Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description
The CSS box model is used to control the layout and position of HTML elements.
In this lab, you will see the different properties available in the CSS box model.
Learning Objectives
Upon completion of this beginner level lab, you will be able to:
- Set the size of a division element
- Set the margin, padding, and border of an HTML element
- Set the display CSS property to various values
Intended Audience
- Beginners learning front-end development
- Software Engineers who need to learn front-end technologies to expand their skillset
Prerequisites
Familiarity with the following will be beneficial but is not required:
- Cascading Style Sheets (CSS)
- Hypertext Markup Language (HTML)
The following content can be used to fulfill the prerequisite:
Andrew Burchill, opens in a new tabLabs Developer
Students66,517
Labs164
Courses2
Learning paths4
Andrew is a Labs Developer with previous experience in the Internet Service Provider, Audio Streaming, and CryptoCurrency industries. He has also been a DevOps Engineer and enjoys working with CI/CD and Kubernetes.
He holds multiple AWS certifications including Solutions Architect Associate and Professional.
Lab steps
Sizing the Content of a HTML Element
Using the Box Model's Margin, Padding, and Border Properties
Using the Display Property