1 | initial version |
To add a border to a list using Html/Css, you can use the following code:
Html
<ul class="list-border">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
Css
.list-border {
border: 1px solid black;
padding: 10px;
}
This will add a black border around the list and add some padding to give it some space. You can adjust the color, width, and padding as needed to fit your design.