Multiple choice general knowledge

What HTML attribute allows a Java applet explicit permission to access JavaScript objects and functions?

  1. MAYSCRIPT

  2. CODE

  3. PARAM

  4. CODEBASE

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The MAYSCRIPT attribute is an HTML attribute (not a JavaScript feature) used in tags to explicitly grant Java applets permission to access JavaScript objects and functions. This is a security feature - applets cannot access JavaScript unless this attribute is present. CODE, PARAM, and CODEBASE are other applet attributes.