John Doe writes a book -- Me and My Dog Spot. On the page after the title, he writes: For Nancy.
My aunt gives this book to me for my birthday, and on the title page, she adds in her penmanship: Dear Jen, this reminds me of you and Fluffy. Love, Aunt Marge
I'd refer to #1 and #2 as a dedication, but are there more appropriate terms?