https://developer.mozilla.org/en-US/blog/h1-element-styles/ * Skip to main content * Skip to search Open main menu * ReferencesReferences + Overview / Web Technology Web technology reference for developers + HTML Structure of content on the web + CSS Code used to describe document style + JavaScript General-purpose scripting language + HTTP Protocol for transmitting web resources + Web APIs Interfaces for building web applications + Web Extensions Developing extensions for web browsers + Accessibility Build web projects usable for all + Web Technology Web technology reference for developers * LearnLearn + Overview / MDN Learning Area Learn web development + MDN Learning Area Learn web development + HTML Learn to structure web content with HTML + CSS Learn to style content using CSS + JavaScript Learn to run scripts in the browser + Accessibility Learn to make the web accessible to all * PlusPlus + Overview A customized MDN experience + AI Help Get real-time assistance and support + Updates All browser compatibility updates at a glance + Documentation Learn how to use MDN Plus + FAQ Frequently asked questions about MDN Plus * Curriculum ^New * Blog * Tools + Playground Write, test and share your code + HTTP Observatory Scan a website for free + AI Help Get real-time assistance and support Search MDN[ ]Clear search inputSearch Theme * Log in * Sign up for free In this article * What's changing * What to expect and when * Fixing the Lighthouse warning * Summary * See also Default styles for h1 elements are changing. Default styles for h1 elements are changing Author avatarSimon PietersApril 11, 20254 minute read Browsers are starting to roll out changes in default UA styles for nested section headings. Developers should check that their sites don't rely on UA styles for certain cases to avoid unexpected results and failing Lighthouse checks. In this post, we'll have a look at what the incoming changes are, how to identify if it's an issue on your pages, and some hints for conformant and better-structured websites. What's changing The HTML spec used to define an outline algorithm that gave

elements an implicit semantic heading level based on how many sectioning elements (
,