Proper use of HTML heading tags

前端 未结 6 1207
天命终不由人
天命终不由人 2020-12-21 16:53

I\'m having trouble understanding the proper usage of HTML headings. I\'m using books and online resources to self-learn but there are slight discrepancies on how to use the

6条回答
  •  鱼传尺愫
    2020-12-21 17:19

    Your webpage is not going to break if you don't follow the order or have more than 1 h1 tags but it will definitely look ugly.

    Following point 1 and point 2 that you mentioned is not mandatory but advisable mainly for search engine optimization(seo). It's one of the white hat seo techniques which will somewhat help in your web page ranking by a search engine crawler. Secondly, your webpage would be more semantically correct and with a better looking outline.

提交回复
热议问题