After that, the photoresist film is developed to remove the portion other than the region for forming the thin film transistor TFT, thereby to expose at that removed portion the upper face of the semiconductor contact layer 7A which is doped with the n-type impurity.