What does the contentWindow property do in iframe?

The contentWindow property returns the Window object generated by an iframe element (through the window object, you can access the document object and then any one of the document’s elements). Another example of how to access the document of an iframe to change the background color:
For More Information Please Refer:


You May Also Like to Read: