Alliteration
Alliteration is the repetition of the beginning sounds of neighboring words.
Examples include:
She sells seashells.
Walter wondered where Winnie was.
Anaphora
Anaphora is a technique where several phrases or verses begin with the same word or words.
Examples include:
I came, I saw, I conquered. - Julius Caesar
Mad world! Mad kings! Mad composition! - King John II, William Shakespeare