hands-on lab

Arranging and Ordering HTML Elements Using CSS

Difficulty: Advanced
Duration: Up to 45 minutes
Students: 115
Rating: 3.8/5
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.

Description

Cascading Style Sheets (CSS) offers the ability to customize how HTML elements are arranged and ordered on a web page. Floating elements can be used to let text flow around other HTML elements, and setting the Z index allows you to specify the depth order that elements are displayed in.

In this lab, you will see how to use CSS to arrange and order HTML elements.

Learning Objectives

Upon completion of this beginner level lab, you will be able to:

  • Use the float property
  • Use the clear property
  • Use the z-index property

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:

Updates

July 24, 2024 - Resolved an issue preventing the development interface from appearing

Covered topics

Lab steps

Floated Images Left and Right
Using the Clear Property
Using the Z-Index Property