devi fare una funzione javascript da richiamare nel attributo onmouseover del tag html.

ES: <span onmouseover="scrivituttalafrase();"> che bel....</span>