Hacker News new | ask | show | jobs
by ffhhj 1498 days ago
Do you plan to define your own tags to have a richer semantic html, and then translate it into plain html with corresponding js/css? Because html is very poor. Where is my menu tag??
1 comments

> "Where is my menu tag??"

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/me...

<menu> is used like an unordered list, with <li> tags inside it, but has a specific semantic meaning.

But <menu> should contain <option> not list item <li>. They got the semantic wrong to reuse the list as a shortcut and called it a day.