Step 1: Understanding the Concept:
A function \(f : A \to B\) is called onto (surjective) when every element of the codomain \(B\) is the image of at least one element of \(A\).
Step 2: Key Formula or Approach:
The range of \(f\) is the set of all images, written \(f(A) = \{ f(x) : x \in A \}\). Always \(f(A) \subseteq B\). The function is onto when the range fills the whole codomain.
Step 3: Detailed Explanation:
"Every element of \(B\) has a pre-image in \(A\)" means \(B \subseteq f(A)\). Together with \(f(A) \subseteq B\), which is true for any function, this gives \(f(A) = B\).
Step 4: Check each option.
Option (A) \(f(A) \subset B\): this says the range is a proper part of \(B\), so some element of \(B\) is missed. That is the case for a function that is not onto. So (A) is wrong.
Option (B) \(f(A) = B\): range equals codomain, which is the definition of onto. So (B) is right.
Option (C) \(f(A) \supset B\): the range can never be larger than the codomain, because every image lies in \(B\). So (C) is impossible.
Option (D) is wrong because option (B) is correct.
Step 5: Final Answer:
The function is onto exactly when \(f(A) = B\), which is option (B).
\[ \boxed{f(A) = B} \]