A slider comprises a slider section and an element section. The slider section has a first medium facing surface and an air inflow end. The element section has a second medium facing surface, an air outflow end, and a thin-film magnetic head element. The slider section and the element section are produced separately, and bonded to each other so that the air inflow end and the air outflow end are disposed on opposite sides with the first and second medium facing surfaces in between.