An electronic device comprising: a housing including a first face oriented in a first direction and a second face oriented in a second direction; a transparent cover provided in at least a portion of the first face of the housing; a display disposed between the transparent cover and the second face ; a sensor disposed between the display and the second face ; and a control circuit electrically connected to the sensor and configured to control the sensor , wherein the display includes: a first display area provided with a plurality of pixels including light-emitting elements capable of displaying at least three colors of red, green and blue, and a second display area aligned above at least a portion of the sensor to pass light from outside the electronic device to the sensor ; wherein the second display area includes first areas with light-emitting elements capable of displaying at least three colors of red, green and blue and second areas without light-emitting elements, wherein each second area is disposed between adjacent first areas in a first direction and the second areas are regularly disposed between the first areas in a second direction perpendicular to the first direction, wherein the display includes wiring lines configured to transmit signals to the light-emitting elements, wherein the wiring lines are disposed across the first display area and the second display area , and wherein the wiring lines disposed in the second display area are opaque, and the opaque wiring lines detour around the second areas and are collectively disposed in the first areas . a housing including a first face oriented in a first direction and a second face oriented in a second direction; a transparent cover provided in at least a portion of the first face of the housing; a display disposed between the transparent cover and the second face ; a sensor disposed between the display and the second face ; and a control circuit electrically connected to the sensor and configured to control the sensor , wherein the display includes: a first display area provided with a plurality of pixels including light-emitting elements capable of displaying at least three colors of red, green and blue, and a second display area aligned above at least a portion of the sensor to pass light from outside the electronic device to the sensor ; a first display area provided with a plurality of pixels including light-emitting elements capable of displaying at least three colors of red, green and blue, and a second display area aligned above at least a portion of the sensor to pass light from outside the electronic device to the sensor ; wherein the second display area includes first areas with light-emitting elements capable of displaying at least three colors of red, green and blue and second areas without light-emitting elements, wherein each second area is disposed between adjacent first areas in a first direction and the second areas are regularly disposed between the first areas in a second direction perpendicular to the first direction, wherein the display includes wiring lines configured to transmit signals to the light-emitting elements, wherein the wiring lines are disposed across the first display area and the second display area , and wherein the wiring lines disposed in the second display area are opaque, and the opaque wiring lines detour around the second areas and are collectively disposed in the first areas . <EOS>