The Ultimate Guide to HTML Headings

Vanza Setia,

Estimated reading time: 1 minute

Here are my guidelines for HTML headings in no particular order:

  • Guide your users with headings. New users may not know who you are or what is on your website. Use headings to help your users navigate your website.
  • Use CSS to enlarge headings. Make them big and clear enough. For h1, make them the largest and the boldest text on all pages. Be bold.
  • Make headings visible. Visually hidden headings are not accessible for non-assistive technology users. Visible headings are always preferable.
  • Make sure each heading labels the information below it.
  • Use HTML headings in a logical order. Users of assistive technology can use heading tags to navigate the website. If headings are not in a logical order, the users can get confused.
  • Do not skip heading levels. They must always be in chronological order to give structure to a page.
  • Have one h1 for each page. The HTML heading one element defines the main heading of a page. Having many h1 elements may confuse assistive technology users. Users browsing with CSS disabled or in reading mode can also get confused. Instead of using many h1 elements, use other heading elements—such as h2, h3, and h4—to make subheadings and to structure the information on the page.
  • Do not use heading elements to make a text big and bold. Headings are used to structure page and have semantic meaning. For presentational purpose, use CSS.

Some guidelines can be applied when you structure information using a word processor.

Share your thoughts

Topic(s).

Thank you for reading this The Ultimate Guide to HTML Headings. You can subscribe to all my articles with the Articles RSS. If you have a positive or negative comment, please send me an email or contact me through one of my social media accounts.

Share with your network

Copy this link and send it to great people only.

https://vanzasetia.xyz/blog/guide-html-heading/

For you

  • Washing Your Body

    Can you wash your body today? Can you do it yourself?

    By Vanza Setia

    mind

  • Learn Web Accessibility

    Developing an accessible website is not just a duty. I will tell you more in this article.

    By Vanza Setia

    a11y