HTML | DOM Window parent Property
HTML DOM Window parent Property returns the parent window of the current window. It is a read-only property.
If a window does not have a parent, then it refers to itself.
- Parent Window object of current window. If there is no parent window then it refers to itself.
Example: Return parent window using alert.
Supported Browsers: The browser supported by DOM Window parent Property are listed below:
- Google Chrome
- Internet Explorer
Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML course.