Home >Web Front-end >JS Tutorial >Detailed explanation of JavaScript document and window properties and methods
[document object]
This object is a property of the window and frames objects, and is a document displayed in the window or frame.
Attributes
alinkColor The color of the active link (ALINK)
anchor An HTMI anchor point, created using the tag (the attribute itself is also an object)
anchors array lists the array of document anchor objects () (this attribute itself is also an object)
bgColor The background color of the document (BGCOLOR)
Cookies are stored in the cookie.txt file A piece of information, which is an attribute of the document object
fgColor The text color of the document (TEXT attribute in the tag)
Form A form (
The above is the detailed content of Detailed explanation of JavaScript document and window properties and methods. For more information, please follow other related articles on the PHP Chinese website!