Why do house cats rub their heads against their owners' legs and ankles?
it is a display of affection
it is a stretching excercise
it is a type of scent marking
It is a sign of hunger
Cats often scent-mark things that are most important to them, it is a way of marking cat's territory. This behaviour is called bunting. Cat's scent glands are located on many parts of the cat's body, including forehead, tail and cheeks. 
reach: rather globalcatsnaturezoology
Answers by country
it is a display of affection
it is a stretching excercise
it is a type of scent marking
It is a sign of hunger
answers
 Spain
Spain13
 Austria
Austria10
 the Netherlands
the Netherlands18
 Germany
Germany61
 the United Kingdom
the United Kingdom167
 Italy
Italy12
 Poland
Poland12796
 the United States
the United States427
 Singapore
Singapore10
 Greece
Greece13
 Canada
Canada25
 Australia
Australia44
 Czech Republic
Czech Republic10
 the Philippines
the Philippines18
 India
India257
 Republic of Ireland
Republic of Ireland18
 Malaysia
Malaysia12
 South Africa
South Africa10
 Nigeria
Nigeria13
 Pakistan
Pakistan30