Length, Size Types and URL Values

In this lesson, we'll see the different ways to specify size and lengths of various HTML elements in CSS and how to achieve cross-platform size and length compatibility. In addition, we will touch upon URL values. Let's begin!

We'll cover the following

When designing the layout of a page, you often need to specify sizes, such as the width or height of a box, top and bottom margins of paragraphs, and so on.

To indicate size, CSS offers a number of type size options including:

Get hands-on with 1200+ tech skills courses.