Multiple choice web-design

Which technique is referred to as inline scripting?

  1. The use of SCRIPT tags in line with the HEAD and BODY tags.

  2. The addition of the INLINE tag within the controlling HTML.

  3. The embedding of scripting instructions within certain HTML tags.

  4. The physical justification of the script (major routines on the left, and lesser routines indented and on the right).

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

Inline scripting refers to placing script code directly within HTML event attributes (like onclick or onmouseover) inside the tags themselves. This differs from internal scripting (using SCRIPT tags in the head/body) or external scripting (linking to a .js file).