Position

Now we know how to adjust the height, width, and display of elements. However, elements are still laid out from left to right and top to bottom. Now let's see how we can precisely position elements on a web page using the position property.

The first and default value of the position property is static. This is the default value for all elements on web pages, so we don't need to set it. Static position simply means that elements will be stacked as we are used to, from left to right and top to bottom.

Instructions

When you're ready, you can move on to the next exercise to learn about more positioning options!

Start programming for free

By signing up, you agree to the Terms of Service and Privacy Policy.

Or sign up with:

5/10

Position | Start Coder