MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

A cookie is a small piece of information left by a website on a visitor's computer by a website, via a web browser.

Cookies are used to personalize a user’s web experience with a website. It may contain the user’s preferences or inputs when accessing that website. A user can customize their web browser to accept, reject, or delete cookies.

Cookies can be set and modified at the server level using the Set-Cookie HTTP header, or with JavaScript using document.cookie.

Learn more

General Knowledge

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, Tigt, tedmcox, hari78
 Last updated by: chrisdavidmills,