Single Choice Easy

QWhich window object's property contains the name of the frame?

ID: #5119 Javascript DOM & Event Handling MCQ 123 views
Question Info
#5119Q ID
EasyDifficulty
Javascript DOM & Event Handling MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A name
  • B title
  • C description
  • D style
Correct Answer

Explanation

The name property of a Window object holds the name of the frame if it has one
This property is writable, and scripts can set it as desired
An iframe creates a nested browsing context represented by a Window object of its own.

Share This Question

Challenge a friend or share with your study group.