Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/manifest/orientation/index.md
6581 views
---
title: orientation slug: Web/Manifest/orientation status: - experimental browser-compat: html.manifest.orientation
---

{{QuickLinksWithSubpages("/en-US/docs/Web/Manifest")}}{{SeeCompatTable}}

Type String
Mandatory No

The orientation member defines the default orientation for all the website's top-level {{Glossary("Browsing context", "browsing contexts")}}.

Note: orientation and/or its specific values might not be supported by a user agent on various display modes because supporting them does not make sense for the particular context.

Note: The orientation can be changed at runtime via the Screen Orientation API.

Values

orientation can take one of the following values:

  • any

  • natural

  • landscape

  • landscape-primary

  • landscape-secondary

  • portrait

  • portrait-primary

  • portrait-secondary

Examples

"orientation": "portrait-primary"

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}