A demo of the Fullscreen API, currently implemented in Firefox and Google Chrome. Click this button to make the web site go full screen:

Fullscreen state: I'm not fullscreen

The background should also turn red when in fullscreen.

Fullscren for elements

You can also make just a certain element fullscreen. For instance, a video:

Video taken from archive.org.