3 Semantics, structure, and APIs of HTML documents — HTML5
document. cookie [ = value] Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned. Can be set, to add a new cookie to the element's set of HTTP cookies....