It's impressing that browser can display many levels of recursive iframe.
Every HTML Element
51–60 of 136 posts
Re: Every HTML Element
#52I wonder if it would be possible to do this in a way that the page shows its own source code. Similar to: https://no-gravity.github.io/html-quine/index.html Could be tricky, because non-textual elements would probably have to be taken care of individually. For example a video would probably have to show a video of its own representation in code.
Re: Every HTML Element
#53 alignment with no CSSRe: Every HTML Element
#54The element says "This is a modal dialog displayed using just HTML." but that's a bit misleading because the dialog opens using JavaScript `document.getElementById('my-dialog').showModal()` in the onclick attribute of the relevant button.
https://developer.mozilla.org/en-US/docs/Web/API/Popover_API...
Re: Every HTML Element
#55First I've ever heard of hgroup. Subheadings are one of those little things I've wondered about the proper semantics for a million times and always end up doing something slightly different on the fly.
hgroup is considered deprecated in HTML5 though, whatever that actually means.
In a nutshell, hgroup was originally criticized and rejected when W3C was still redacting HTML specs received from the loose group of browser devs and other people calling themselves "WHAT working group" because it paired headings of multiple ranks in a way that confused assistive technologies in browsers. But the first (and at the same time the last;) W3C HTML recommenndation created as unredacted WHAT WG spec snapshot under the W3C/WHATWG "memorandum of understanding" actually smuggled hgroup in. Then Steve Faulkner removed HTML outlining and the whole concept of sectioning roots that was part of Ian Hickson's vision of "HTML 5" for the longest time, but W3C never actually started a new recommendation process afterwards, and the charter for the HTML WG at W3C, Inc. has ended last year. See details at [1].
Arguably, with this change in 2023, we're now post-HTML5. But don't tell the people believing in a single "HTML 5 standard".
Re: Every HTML Element
#56The element says "This is a modal dialog displayed using just HTML." but that's a bit misleading because the dialog opens using JavaScript `document.getElementById('my-dialog').showModal()` in the onclick attribute of the relevant button.
Re: Every HTML Element
#57Where is the good old… alignment with no CSS
Re: Every HTML Element
#58no marquee? c’mon
Re: Every HTML Element
#59That's XHTML which is XML. HTML does not use and does not need a closing slash and never has in any HTML specification.
https://html.spec.whatwg.org/dev/text-level-semantics.html#t...
Re: Every HTML Element
#60Relevant: https://htmlreference.io/