Patent attributes
A touch sensor (touch panel) which can be formed over the same substrate as a display portion is provided. Alternatively, a touch sensor (touch panel) which does not cause degradation in the quality of an image displayed on a display portion is provided. The touch panel includes a light-emitting element and a microstructure in which a pair of electrodes facing each other is isolated with an insulating material. As the insulating material, an elastic material or a material having a hole is used so that a filler layer formed using the insulating material can be deformed when a movable portion operates. It is preferable to use a material which is softened or hardened by certain treatment (e.g., heat treatment or chemical treatment) after formation.