
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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 |
Advertisements