Breakdown of Tengo un secreto para ella.
ella
she / her (after a preposition)
para
for / in order to (+ infinitive) / by (a deadline)
un
a, an, some
tener
to have
Questions & Answers about Tengo un secreto para ella.
Why do we use ella here instead of la or le?
After a preposition like para (for), Spanish requires a prepositional pronoun. For 'her', that pronoun is ella. We only use object pronouns like la or le when they are attached directly to the verb's action, not after prepositions.
Why is the preposition para used here instead of por?
What if the secret was for 'me' or 'you' instead of 'her'?
You would change the pronoun after para. For 'me', it becomes para mí (notice the accent mark on mí). For 'you' (informal), it becomes para ti.
Why isn't the word yo (I) in this sentence?
In Spanish, the ending of the verb usually tells us exactly who is doing the action. Tengo is specifically the 'I' form of the verb tener (to have). Because the verb makes it obvious, the subject pronoun yo is usually dropped.