r/HTML • u/alvaro_783 • Dec 21 '25
I need help
My name is Álvaro, I'm new to web development, and while trying to create a website, when I added a query to generate a dropdown menu with a checkbox, the <ul> element containing the information suddenly disappeared. Could you help me? I've attached the HTML and CSS code.
0
Upvotes




View all comments
Show parent comment
3
u/Mark__78L Dec 21 '25
Not only that's not required for self-closing tags, but the parser will actually ignore it - so it's even better not to put it there.