Which of the following letters have both horizontal and vertical lines of symmetry?
A. X has both vertical and horizontal lines of symmetry.

B. E has only horizontal line of symmetry.

C. M has only vertical line of symmetry.

D. K has only horizontal line of symmetry.

∴ the correct option is A.