Selection is made between the top-gate thin-film transistor (the gate electrode is formed above the active layer) and the bottom-gate thin-film transistor (the active layer is formed above the gate electrode) in accordance with the necessary circuit structure, the manufacturing process, the required characteristics, and other factors.