02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

Defining Margins of HTML elements

In the last lesson we learned how to define the size of HTML elements using CSS. In this lesson we will discover how to control the relation between elements. We do that using margins.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!

Controlling the width and height of elements

By the end of this lesson, you will know everything about sizes of HTML elements and how to control them using CSS.

08:34

Defining Margins of HTML elements

In this lesson we will discover how to control the relation between elements.

06:53

Sizing things in different ways

In this lecture we will learn about the differences between them and know how to pick the right measurement system for our needs.

07:13

Working with Padding

By the end of this lesson you will know the differences between CSS margin and padding and how to apply them.

03:36