This application provides an antenna and an electronic device. The antenna includes: a radiator, and a first
feed point and a second
feed point that are disposed on the radiator. One end of the radiator is an open end, and the first
feed point is located between the open end and the second feed point. The radiator includes a first position and a second position, where a distance between the first position and the open end along the radiator is a quarter of a target
wavelength, and a distance between the second position and the first feed point along the radiator is a half of the target
wavelength. The first feed point is disposed at a position that deviates from the first position by a first preset value, and the first preset value is greater than or equal to 0, and less than or equal to one sixteenth of the target
wavelength. The second feed point is disposed at a position that deviates from the second position by a second preset value, and the second preset value is greater than or equal to 0, and less than or equal to one sixteenth of the target wavelength. In the foregoing technical solution, two antenna
modes with
high isolation can be implemented by disposing a same radiator, so that space of the electronic device can be saved.