logoalt Hacker News

littlestymaartoday at 11:32 AM2 repliesview on HN

> so there often aren't semantic HTML tags that would make sense.

Pet peeve of mine: there should really be `<grid>` and `<flex>` elements, as well as `<fi>` (flex item) and `<gi>` (grid item) for the child element instead of relying on a div soup with CSS attributes everywhere.


Replies

nicoburnstoday at 12:13 PM

There's nothing stopping you from defining those yourself for your own websites:

     grid { display: grid }
will work in every modern browser.
show 1 reply
assimpleaspossitoday at 11:41 AM

HTML describes the content, not visual display.

show 2 replies