Can an ordered list be nested within a list item? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Can an ordered list be nested within a list item?

The ai corrected me by nesting an ordered list within a list item. It is the very first time I have gotten a single answer incorrect. The course did not cover that prior either. Wenested ordered list inside of unordered lists and vice versa, but when I started the ai section I had to get it to tell me the answer and it nested an ordered list within a list item. Any comments or explanations?

29th Jul 2023, 4:59 AM
Jack Bogard
Jack Bogard - avatar
15 Answers
+ 3
This is what I am saying bro, sometimes gives wrong answer if we know then we will know the answer and google is better than AI, hope you will get it 🙂
29th Jul 2023, 5:36 AM
Sakshi
Sakshi - avatar
+ 3
Jack Bogard ,Sakshi Yes, an ordered list can be nested within a list item in HTML. Its meaning that elements can be placed inside other elements. For example see this post.. https://www.sololearn.com/post/1740480/?ref=app Note that HTML is a flexible language, and there are often multiple ways to accomplish the same goal.
29th Jul 2023, 7:04 AM
Darpan kesharwani🇮🇳[Inactive📚]
Darpan kesharwani🇮🇳[Inactive📚] - avatar
29th Jul 2023, 5:03 AM
Jack Bogard
Jack Bogard - avatar
+ 1
For your prespective you are right but from my prespective if you see first list item then that list item is closed after the ordered list finished that means the ordered list inside the list item, just wait for others answers also because I am confuse to I already said that.
29th Jul 2023, 5:24 AM
Sakshi
Sakshi - avatar
+ 1
Yessir i think we are saying the same thing
29th Jul 2023, 5:25 AM
Jack Bogard
Jack Bogard - avatar
+ 1
It is absolutely possible for an infant (AI) to make a mistake. But in this instance, I am an infant as well. I'm just looking for a little clarity and not to be disagreeable
29th Jul 2023, 5:29 AM
Jack Bogard
Jack Bogard - avatar
0
It's a little bit confusing to me also but from my side I see that in 'ordered list' inside 'list item' if you look carefully then 'list item' is closed after the 'order list' is finished, question is tricky to create the confusion but from my side, I look like that, hope you will understand what I mean to say. I will also wait for others answers also because this question is tricky from me also 😁😅
29th Jul 2023, 5:12 AM
Sakshi
Sakshi - avatar
0
If the list item opens before the ordered list and closes after, i believe that is the definition of nested
29th Jul 2023, 5:20 AM
Jack Bogard
Jack Bogard - avatar
0
Don't depends completely on AI sometimes AI do the mistake also
29th Jul 2023, 5:31 AM
Sakshi
Sakshi - avatar
0
You're messing with me right? You r ephrased my exact statement again ;]
29th Jul 2023, 5:33 AM
Jack Bogard
Jack Bogard - avatar
0
God bless your little heart
29th Jul 2023, 5:49 AM
Jack Bogard
Jack Bogard - avatar
0
Thank you so very much. i should have just gone and typed it out and hit run, but I was really enjoying my back and forth with Sakshi. I appreciate everyones time contributing to my education. Really, thank you.
29th Jul 2023, 10:23 AM
Jack Bogard
Jack Bogard - avatar
0
How can i add background video
29th Jul 2023, 10:31 AM
Kakaire Jovan
Kakaire Jovan - avatar
0
Yes, lists of any type can be nested within one another The list will usually come out like this - //list o // nested list It is covered but very briefly i also believe it wasnt covered on the old html course but i may be wrong
29th Jul 2023, 9:08 PM
Shrimp Studios
Shrimp Studios - avatar
0
Yes bro we can nest the ordered list inside the list.
30th Jul 2023, 3:36 PM
Rahul Gupta
Rahul Gupta - avatar