User-agent styles are the browser’s built-in CSS rules for HTML elements. They provide a readable starting appearance before author CSS is added, but different browsers can render the same element somewhat differently. section 1.4.1
User-agent styles commonly provide:
- Larger, bolder headings that distinguish headings from ordinary text. section 1.4.1
- Font sizes, border styles, and basic layouts for controls such as text inputs and progress bars. section 1.4.1
- The lowest-priority stylesheet origin, so author styles and user styles can override it through the cascade. section 1.4 section 1.5
Progress bars and platform defaults
A bare <progress value="32" max="100">32%</progress> element displays using browser and operating-system defaults. Its appearance can vary across environments, and the colored progress indicator may offer few styling hooks. Customization therefore requires workarounds whose results and pitfalls depend on the platform. section 3.6
Resetting a fieldset
A fieldset can remain meaningful to assistive technology while visually blending into a design. Reset its browser defaults with border: 0, padding: 0, and margin: 0. section 10.2
Compare the unstyled progress bar with later author styling to see which appearance comes from user-agent rules. section 3.6


