Live data from Hacker News

Every HTML Element

iamwillwang.com

71–80 of 136 posts

Re: Every HTML Element

#72
post #65

Earlier quoted context omitted.

The Popover API only makes non-modal popups.

Yes, but in the article I posted: > Popovers created using the Popover API are always non-modal. If you want to create a modal popover, a element is the right way to go. > You can turn a element into a popover ( is perfectly valid) if you want to combine popover control with dialog semantics.

But it's still a non-modal dialog, which doesn't match the JavaScript functionality.

Re: Every HTML Element

#73

According to MDN [1] there is a element but hell if I know what it does. [1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/po...

Scroll to the bottom and you'll see that it must be enabled by the user, is experimental, and not listed in any HTML specification.

Re: Every HTML Element

#76

Earlier quoted context omitted.

Not to hand, for sharing here, but just try it with something like your CV, in neat HTML. Set yourself some rules to not use classes (for the lols, not out of ideological hatred) or divs (there is always a better element). If you can't do it, there is probably more work to do with your document structure. Also try and always have a h1-h6 heading in your articles, sections, asides and even navs, at the top. Headings s…

Out of idle curiosity, which better element am I supposed to use when I'm using flex layout to space out elements on my page? (e.g., a toolbar with with left- and right- justified elements, among which is an expanding searchbox).

HTML elements are used to describe their content and not have anything to do with layout. While they often have common properties, these can be changed using CSS.

So use the element that best describes its content.

Re: Every HTML Element

#78
post #12

I like this! It's fun to compare it to "A blog post with every HTML element" [1][2], which gets at a (very!) similar thing but in a very different way. This post primary shows , and is a little more chaotic (meant positively!) whereas the other post is much more prose and explanation heavy (also good, but very different). [1] https://www.patrickweaver.net/blog/a-blog-post-with-every-ht... [2] HN discussion: https://n…

Whoa! I'm a big fan of yours. You've really inspired me to think more creatively about the web/software. Thanks a ton, I'm glad this reached you.

Re: Every HTML Element

#79
post #21
post #5

Except this custom one I just invented that I implement in my custom browser

ive been demaking html elements by removing them from my custom browser so it evens out

But I didn't demark them so they are still elements.

Also Oxygen was mentioned, but not Argon

Post reply on HN