cap

Explanation

1. cap
A flat hat fitting one's head tightly, usually with a brim only at the front.

2. lid
The lid of a writing instrument such as a fountain pen, etc.