Is there a way to have the list items sit flush against the page like the rest of the text?

Hi! I posted this on the other thread, but instead of using padding, couldn’t we just put the LI tag on its own without being nested in the UL parent tag? I played around with the code and previews in the Elements and Structure exercise in the Introduction to HTML lectures and figured that UL means that a list is coming up and indents the succeeding text, while LI makes a bullet point for the text. By this, if you were to create an unordered list that you wanted sitting flush with the rest of the text rather than indented, you can make a list with the LI tags, and omit the UL tag, it seems? What would go wrong if we didn’t nest it in a UL tag if we simply didn’t want it indented then?

Thank you!
Screen Shot 2020-07-02 at 10.26.23 PM|690x431
I also posted this comment in another response here: Does the <li> tag always have to be nested within the <ul> tag?

5 Likes