<!DOCTYPE html> <html> <head> <style> #aside{ width:250px; height:auto; background-color:rgb(250,250,250); } #aside ul{ list-style-type:none; padding:0px; margin:0px; border-radius:5px; } </style> </head> <body> <h2 id="aside-heading">This is a heading</h2> <aside id="aside"> <ul> <li><a href="#">List item1</a></li> <li><a href="#">List item2</a></li> <li><a href="#">List item3</a></li> <li><a href="#">List item4</a></li> </ul> </aside> </body> </html>
Run
×
Share