VOOZH about

URL: https://www.geeksforgeeks.org/html/html-dom-fullscreenelement-property/

⇱ HTML DOM fullscreenElement Property - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML DOM fullscreenElement Property

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.

Output:

👁 Image

Supported Browsers: The browser supported by fullscreenElement property are listed below:

Comment