A demo of the Fullscreen API, currently implemented in Firefox, Google Chrome, Safari, Opera, and IE 11+. 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.

Fullscreen for elements

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

Video taken from archive.org.