3 ms·
> > A heading is a line of text providing a title for a section. > Which is exactly what <header> is trying to be. Not at all: > > A header typically contain
by TazeTSchnitzel 10y ago
> > A heading is a line of text providing a title for a section.
> Which is exactly what <header> is trying to be.
Not at all:
> > A header typically contains a group of introductory or navigational aids.
Key word here is group. A header is a block containing other elements. A heading is a line of text. Often the header contains a heading, but header element itself is not a heading.
A realistic example might be something like:
<header>
<h1>New York Times</h1>
<time>Monday, February 20, 2017</time>
</header>