Click here to navigate the course.

Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Code Editor
Web Browser

Border Width I

You can control the thickness, or width, of borders with the border-width property. The value of border-width is given in pixels.

p { border-style: solid; border-width: 5px; }

In the example above, the solid borders of all paragraphs on the page would be set to a thickness of 5 pixels.

It's also possible to also set the border-width property to one of the following named thicknesses:

  1. thin
  2. medium
  3. thick

While these values are perfectly valid, you may not see them often, but it's good to know that they exist.

Report a Bug
If you see a bug or any other issue with this page, please report it here.