
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
What are the document properties which can be accessed using Legacy DOM?
The following are the document properties which can be accessed using Legacy DOM −
Sr.No | Property & Description |
---|---|
1 | alinkColor Deprecated − A string that specifies the color of activated links. Ex − document.alinkColor |
2 | anchors[ ] An array of Anchor objects, one for each anchor that appears in the document Ex − document.anchors[0], document.anchors[1] and so on |
3 | applets[ ] An array of Applet objects, one for each applet that appears in the document Ex − document.applets[0], document.applets[1] and so on |
4 | bgColor Deprecated − A string that specifies the background color of the document. Ex − document.bgColor |
5 | cookie A string-valued property with special behavior that allows the cookies associated with this document to be queried and set. Ex − document.cookie |
6 | domain A string that specifies the Internet domain the document is from. Used for security purpose. Ex − document.domain |
7 | embeds[ ] An array of objects that represent data embedded in the document with the <embed> tag. A synonym for plugins[ ]. Some plugins and ActiveX controls can be controlled with JavaScript code. Ex − document.embeds[0], document.embeds[1] and so on |
8 | embeds[ ] An array of objects that represent data embedded in the document with the <embed> tag. A synonym for plugins[ ]. Some plugins and ActiveX controls can be controlled with JavaScript code. Ex − document.embeds[0], document.embeds[1] and so on |
- Related Articles
- How to get the list of document properties which can be accessed using W3C DOM?
- How can I access document properties using Legacy DOM method in JavaScript?
- What are the document methods supported by Legacy DOM?
- What are the document properties of IE4 DOM method?
- How to access document properties using W3C DOM method?
- How to write a script to access document properties using IE4 DOM method?
- Which properties can be studied to group materials?
- Explain the different ways in which data from a series data structure can be accessed in Python?
- How many ways can a property of a JavaScript object be accessed?
- Explain how the bottom ‘n’ elements can be accessed from series data structure in Python?
- Explain how the top ‘n’ elements can be accessed from series data structure in Python?
- What are the modes a file can be opened using Python?
- How can automated document classification be performed?
- Can a local variable's memory be accessed outside its scope in C/C++?
- Can private methods of a class be accessed from outside of a class in Java?

Advertisements