Horizontal lists

Web Design with HTML & CSS

🕑 This lesson will take about 5 minutes

In this lesson, you will learn how to create horizontal lists and use list items as links in order to create a horizontal navigation bar. The result will look like the image below. You could then go and add some CSS styling to turn this into a custom-themed navigation bar.

Watch the video below and scroll down to see the sample code.

Here is the sample HTML and CSS code: