What would be the best method to code heading/title for
    or
      , Like we have in ?
      前端 未结 6 1189
      青春惊慌失措
      青春惊慌失措 2021-02-01 00:40

      What would be the best method to code heading/title of

        or
          ? Like we have
      in
      6条回答
      •  一个人的身影
        2021-02-01 01:24

        h3 is absolutly a better solution than h2, h1 or h6 !

        1. You have to use specific level : if you're in a h1, use h2, if you're in a h5, use h6 (if you're in a h6... hum, use strong or em for exemple). It not a obligation but a question of accessibility (Here, green part).

        2. You don't have to give title to list... because this element it doesn't exist. So screen reader will not use something special.

        Therefore, using Hn is probably one of the best solution, but surely not a specific level.

      提交回复
      热议问题