attach
1 [transitive] to fasten or connect one object to another [= fix]
attach something to something 
Attach a recent photograph to your application form.

a small battery attached to a little loudspeaker
1
sstring/rope
tie
a) [transitive] to fasten things together or hold them in a particular position using a piece of string, rope etc
[≠ untie]
tie something to/behind/onto etc something 
Tie this label to your suitcase.
tie somebody to something 
They tied him to a tree and beat him up.
tie something together (with something) 
I kept all his letters tied together with a ribbon.
tie somebody's hands/arms/legs/feet 
One of them tied her hands behind her back.

I tie my hair back when I'm jogging.