Is it alright to use multiple h1 tags on the same page, but style them differently?

前端 未结 11 1392
走了就别回头了
走了就别回头了 2020-12-02 15:38

I have a webpage that I use h1 tags multiple times within various DIVs and I style h1 for each div to be the appropriate size.

For example...

#conten         


        
11条回答
  •  隐瞒了意图╮
    2020-12-02 15:53

    I don't like the idea of multiple H1s. H1 is the top level, most important heading and the page will basically be about that topic. If you have an equally important second topic, don't put it in another H1 tag, just put it in another page. It deserves that, right?

提交回复
热议问题