Personification is a metaphor and a literary device that provides a thing, idea, abstract qualities, nature, emotions or event with human characteristics (such as dancing, talking, thinking, among others.). In the excerpt, the narrator uses personification in the sentence by giving "the words" the attribute of dancing (as if they were alive), which is a characteristic of humans: "He felt elated as he watched the words dance across the page"
A device of effectiveness is Emphasis. The emphasis is the repetition of key words and phrases or the careful arrangement of words to give them special weight and prominence.
It may also refer to the intensity of expression or the stress put on words to indicate their importance or special significance.