I though that only men were expected to take off their hats. Also, not an etiquette matter, more superstition, my friend's Cockney mother told her that if you happen to be on the pavement and a funeral passes it is bad luck to watch it after it has gone by (to turn your head to watch the back of the procession recede into the distance)