- Why are empty headers bad?
- They confuse both readers and search engines. Search engines use headers to understand your content. If a header is empty, it disrupts the flow, especially for screen readers.
- What should I do if I find an empty header?
- Remove the empty header if it’s unnecessary.
- Add meaningful content to the header that accurately describes the following section. For example, see the Scribe above if you are using an image within a header without an alt.
- Another way you can create empty headers is if you are using empty headers as a way to increase spacing between different sections. Instead of doing that, use spacer elements or line breaks.
- Do empty headers affect SEO?
- Yes, empty headers can hurt SEO because they disrupt the content’s structure, making it harder for search engines to understand the page.
- Are decorative headers okay?
- No. Don't use headers just to make text look big or bold. Use them only for real section titles. Use the formatting buttons for style.