Using list in a nav bar

This can be placed inside the navigation section. Padding can be increased or decreased as needed.

Although line (<li>) should be closed, the element will almost always work without the line closing (</li>).

Note: default unordered list

A list with or without links or images can be used anywhere in a webpage. This one would be typical for using in a vertical navigation section.