HTML DOM fullscreenElement Property (original) (raw)
Last Updated : 11 Jul, 2025
The **fullscreenElement property in HTML is used to return the element that is currently in fullscreen. This property may require specific prefixes to work with different browsers.
**Syntax:
document.fullscreenElement
**Return Value: Returns the element that is currently in full-screen mode, or **null if full-screen mode is not available.
**Example: In this example, we will see the use of fullscreenElement property.
HTML `
fullscreenElement methodGeeksForGeeks
fullscreenElement method
The current fullscreen element will appear in the console after 5 seconds.
Go fullscreen