I’m just musing about the nature of HTML here, no assistance is being sought with an exercise.
Why is the img tag self-closing but the video tag is not? Is there any logic to what is self-closing and what isn’t?
Why can’t all HTML5 elements be self-closing (so-called ‘void elements’)? What is the purpose of the closing tag anyway? It’s simply a placeholder to show the hierarchy of nested elements, no? However if the code is properly indented we don’t need it.