Document JavaScript Tutorial

Syntax

document.cookie
The cookie property provides the ability to read and write cookies.
A cookie represents a small amount of data stored by web browser to share information.