What does the following line of code do?

onclick="quiz()"

A.
It executes a function called quiz when the user clicks.

B.
It executes a function called onclick when the user takes a quiz.

C.
It creates a variable called onclick.

D.
It creates a variable called quiz.