Ordered and Un-ordered Lists


#1

In nested lists, the following codes produce the same result. Why??
CODE 1: when "li" tag is closed after listing Dad's interests:


  1. Dad's interests

    • football

    • knitting



  2. Mom's interests

    • hating football

    • skydiving



CODE 2: when "li" tag is closed immediately after the line: Dad's interests.


  1. Dad's interests


  • football

  • knitting


  • Mom's interests


    • hating football

    • skydiving


    Please help !!
    According to the theory for nested tags, outermost tag should be closed only after inside tags are closed but here there's no difference why ??


    #2

    Please edit your question to show the code, I have a post detailing how to do so Here, then mention me (@jibblyj) so I can get notified.