YouTip LogoYouTip

Prop Doc Cookie

# HTML DOM cookie Property [![Image 8: Document Object Reference Manual](#) Document Object](#) * * * ## Definition and Usage The cookie property returns all cookies for the current document as a list of **key/value** pairs. ## Syntax document.cookie * * * ## Browser Support ![Image 9: Internet Explorer](#)![Image 10: Firefox](#)![Image 11: Opera](#)![Image 12: Google Chrome](#)![Image 13: Safari](#) The cookie property is supported by all major browsers. * * * ## Example ## Example All cookies associated with the current document: Cookies associated with this document: document.write(document.cookie); [Try it Yourself Β»](#) * * Document Object](#)
← Met Document CreateattributeMet Nav Javaenabled β†’