Theory:

Alliteration:
The happening of the same letter or sound at the beginning of adjacent or closely related words.
 
Alliteration happens when words that start with the same sound (not just the same letter) are used repeatedly in a line or sentence or even a phrase. The sound is a consonant, and the words don't have to be next to one another.
Example:
1.Sweet creature!” said the Spider,
2. “You’re witty and you’re wise,”
 
Sweet -spider and witty-wise are alliterated words in the poem "The Spider and the Fly".
Anthropomorphism:
Anthropomorphism means to endow a non-human character with human traits and behavior.
Example:
Throughout the poem "The spider and the fly", we see the spider’s web described with features as in a normal house. We see a pantry, bed, mirror, and stairs and so on.
Consonance:
In any poem, repetition of similar consonant sounds in the neighbouring words. 
Example:
1. T’is the prettiest little parlour that ever you did spy; ("t" sound).
2. Hearing his wily, flattering words, came slowly flitting by; ("f" sound).
3. So he wove a subtle web, in a little corner sly, ("s" sound).
Assonance:
Repetition of similar vowel sounds in the neighbouring words.
Example:
1. ‘T is the prettiest little parlour that ever you did spy; ("i" sound).
2. The Spider turned him round about, and went into his den, ("o/aw" sound).
3. “I’m sure you must be weary, dear, with soaring up so high; ("ea/o sound).
Anaphora:
Repetition of a word or a phrase at the beginning of a sequence of sentences, paragraphs and lines.
Example:
1. How handsome are your gauzy wings, how brilliant are your eyes!