First, a gate 305 is formed on a portion of a substrate by depositing a metal such as aluminum (Al), chrome (Cr), molybdenum (Mo), tantalum (Ta), MoTa, etc. on the whole insulating glass substrate and carrying out photolithography as shown in FIG. 6A.