Can we use <p> inside a <li> ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can we use <p> inside a <li> ??

19th Apr 2017, 11:41 AM
Mrinal Kanti Halder
Mrinal Kanti Halder - avatar
2 Answers
+ 2
It would not be considered a proper use of p and li, p is meant for whole paragraphs of text, and li is a list item, meaning a short description of an item. Two totally different things.
19th Apr 2017, 11:46 AM
Branko Stanković
Branko Stanković - avatar
0
Yes you can
19th Apr 2017, 11:49 AM
Imran Bashir
Imran Bashir - avatar