Ch1ken
Ch1ken

Reputation: 81

Can we put <dl> into <li>

Is it semantically correct to put some dl (and obviously some dt / dd) into li ?

I know that we can put any block or inline elements into li but I do not know if it make any sense to put dl ,dt and dd

EDIT : I do not want to put any div in those elements

Upvotes: 2

Views: 1063

Answers (1)

Mahima Bhardwaj
Mahima Bhardwaj

Reputation: 1

Ques Is Li block level or inline level element?? it is block level element by default as it takes the full width of line. you can create a list then check in inspect.

Upvotes: 0

Related Questions