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.
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> was officially added to the HTML spec in 2018 [1]
It was deprecated in the W3C spec but not from the WHATWG spec, before they were merged.
blink {
animation: 1s ease infinite blink_effect;
}
@keyframes blink_effect {
0% {
opacity: 0;
}
50% {
opacity: 1;
}
100% {
opacity: 0;
}
}Perhaps it was re-added?
It was only deprecated in the W3C specification, not the WHATWG specification.
But now it's back in good standing: https://www.tpgi.com/subheadings-subtitles-alternative-title...
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".