Quote:
Originally Posted by exaltedwombat
I'm still intrigued why you would WANT an extra tag round a h1? What does it do?
|
I suppose it could depend upon what you consider header material. For example, some books have a quote after the chapter title, or a few lines of a poem. Those I put inside the header tag along with the h2. I use it so that I get consistent spacing after the stuff at the top of the page. If you want to go buck wild with semantic tags there are also article, main, section, and others. For example download an epub 3 book from standardebooks.org; Ivanhoe is a good example. (They now call them Advanced epub, they used to call them epub3.)
https://standardebooks.org/ebooks/walter-scott/ivanhoe
https://www.w3schools.com/tags/tag_header.asp