hands-on lab

Specifying CSS Box Model Element Properties

Intermediate
Up to 45m
36
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:

About the author
Students
66,517
Labs
164
Courses
2
Learning paths
4

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.

Covered topics
Lab steps
Sizing the Content of a HTML Element
Using the Box Model's Margin, Padding, and Border Properties
Using the Display Property