Vidyalelo
HTML · Q53

HTML5

Programming · HTML · question 53

Q53

Which of the following allows the sandboxed iframe to run scripts from the same domain?

A.
allow-same-origin
B.
allow-forms
C.
allow-scripts
Answer
D.
none of the mentioned

Answer: Option C

Solution

Answer: Option C
Solution:
The sandbox attribute enables an extra set of restrictions for the content in the iframe.