Early Access
theme-color
Specifies the color that the browser UI should display. Primarily used on mobile browsers to customize the status bar and navigation bar colors.
Code Examples
<meta name="theme-color" content="#0000FF" />
Recommendations
- Keep Consistency Across DevicesEnsure the theme-color matches your brand’s primary color or the header color of your website for a uniform look across different devices.
- Test on Multiple BrowsersWhile widely supported, the appearance may vary across browsers. It’s crucial to test how the theming appears on different browsers to ensure a consistent user experience.
Related Documentation
Related Meta Tags
default-style
Specifies the name of the preferred stylesheet to use on a web page. This allows users or user agents to choose the default stylesheet amongst many provided.
<meta http-equiv="default-style" content="Main Style">
application-name
Defines the name of the web application as it should be displayed when bookmarked or added to a mobile home screen.
<meta name="application-name" content="MyApp">
format-detection
Controls how telephone numbers, email addresses, and physical addresses are detected and displayed by the browser. By default, many browsers can automatically detect this information and style or link it accordingly, which might not always align with the web developers’ intentions.
<meta name="format-detection" content="telephone=no">
charset
Defines the character encoding standard for the HTML document. Character encoding is essential for rendering text correctly in browsers.
<meta charset="charset" content="UTF-8">
color-scheme
Instructs the browser on what color themes (light or dark mode) are supported and preferred for the content, ensuring visual consistency and accessibility.
<meta name="color-scheme" content="light dark">
Community