When attaching a substrate with an EL element formed thereon and a
transparent sealing substrate, the periphery of a pixel portion is
surrounded with a first sealing agent that maintains a gap between the
two pieces of substrates, an entire surface of the pixel portion is
covered with a second transparent sealing agent so that the two pieces of
substrate is fixed with the first sealing agent and the second sealing
agent. Consequently, the EL element can be encapsulated by curing the
first sealing agent and the second sealing agent without enclosing a
drying agent and doing damage to the EL element due to UV irradiation
even when a sealing device only having a function of UV irradiation is
used.