HTML Headings Formatting

Discussions critique and suggest improvements to the styling, hierarchy, spacing, capitalization, and semantic usage of headings like H1 and H2 in web pages, documents, and markup such as HTML or Markdown.

➡️ Stable 0.8x Web Development
1,282
Comments
20
Years Active
5
Top Authors
#4727
Topic ID

Activity Over Time

2007
2
2008
9
2009
24
2010
39
2011
50
2012
51
2013
89
2014
68
2015
50
2016
58
2017
77
2018
48
2019
74
2020
79
2021
95
2022
94
2023
104
2024
112
2025
154
2026
5

Keywords

e.g H2 SQUIRREL GP CSS headings.html H1 HTML github.com practicaltypography.com headers header section branch font h1 page tags text heading

Sample Comments

Kiro • Aug 31, 2020 • View on HN

What problems do skipping headings cause?

dmur • Dec 21, 2013 • View on HN

because capitalized section headers are so dated

j-pb • Oct 29, 2016 • View on HN

Headers as in document headlines and literate programming not as in header files.

breppp • May 6, 2025 • View on HN

They definitely missed on using underlines for headings

porridgeraisin • Oct 13, 2024 • View on HN

It'll be nice if you could make it level 2 headers. Reason: if we want to make it html to display as a webpage, we won't end up with multiple H1s, and we can have a H1 for like the name of the app or something.

michaelmior • Jul 19, 2023 • View on HN

I can't be the only one who finds that the headings are far too close to the body text.

verve_rat • Mar 18, 2022 • View on HN

This seems like an argument for using headings. The "list" part seems irrelevant.

randiantech • Jun 30, 2016 • View on HN

Offtopic, but the header of the page makes doc hard to read.

TurkishPoptart • Apr 26, 2023 • View on HN

This piece could benefit from some H1/H2 headers to break up the text.

shaklee3 • Dec 11, 2018 • View on HN

This site needs better formatting. It looks like the author has section titles, but they're the same font and style as the body.