headrail

noun
  1. a rail or bar attached to the head of a bed, typically used for support or decoration
  2. Usage: furniture term
  3. a rail or railing at the head or top of a staircase, platform, or similar structure
  4. Usage: architectural term

Examples