Hi, We don't use numbered sect tags, only <section>s, so it's not a problem. Our web team notified us that having multiple h1 tags in the html is not really SEO-friendly, that's why I'd like to change it.
In the webhelp output we have a custom h1 tag that includes the name of the book and the chunk, so tags in the content of the page could start with h2. Thanks for your reply! Robert On Wed, Jul 27, 2016 at 9:23 PM, Warren Young <[email protected]> wrote: > On Jul 27, 2016, at 6:38 AM, Fekete, Róbert <[email protected]> > wrote: > > > > We produce single-page HTML and chunked webhelp output from our DocBook > files. I have noticed that for books, the title of high-level elements > (chapter, appendix, and so on) receives an <h1> tag. Is there a way to > change it to <h2>? I suspect that the components.xsl is responsible for > calculating the header levels, but couldn't customize it to work for me. > > Changing that would ripple all the way down through <sect1> and such. > > Why do you believe you need this? For example, if all you’re trying to do > is reduce the font size, you can do that in CSS. The stock DocBook HTML > output is *heavily* tagged, so that you could even target particular > flavors of <h1> separately. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
