Lists | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson


hello !! I need some help making a nested list, I am working on a project and I need to make a nested list with a defined list (DL) and a unordered list (UL) But it isn’t working quite right, it turns out looking weird.

21st Mar 2019, 10:19 PM
Sarah Rowland
Sarah Rowland - avatar
4 Answers
+ 2
Can you please share an example on what you want to achieve?
21st Mar 2019, 10:24 PM
Jorge - avatar
+ 1
Try this. Post the code/example for better solution. <dl> <dd>Item 1</dd> <dd> <ul> <li>item 2</li> <li>Item 2</li> </ul> </dd> </dl>
22nd Mar 2019, 2:41 AM
Adnan Zawad Toky
Adnan Zawad Toky - avatar
+ 1
I think this is better <dl> <dd>Item 1</dd> <dd> <ul> <li>item 2</li> <li>Item 2</li> </ul> </dd> </dl>
25th Sep 2019, 12:19 PM
Kenedy Maingi
Kenedy Maingi - avatar
whats the diff code by Adnan ?
18th Jan 2020, 2:17 AM
Symax Sakam
Symax Sakam - avatar