A thin-film magnetic head comprises at least one of a magnetoresistive
device for reading and an electromagnetic transducer device for writing,
and a heating element provided in the head body part. The heating element
has an up portion meandering between an origin and a halfway point and a
down portion meandering along the up portion from the halfway point to an
end positioned in the vicinity of the origin, and adapted to generate
heat when energized.