Simile. "They look like white elephants" is a simile because it is a comparison using the word like. A metaphor would say something is something else, alliteration is the repetition of a beginning sound, and personification gives something human-like characteristics.