The fez that I am aware of is a brimless felt cap, usually red and tasselled, shaped like a truncated cone - it originates from the Turkish word, fes.
This was the running gag throughout the series. It's never said where he's from.
The Fez apparently originated in Ottoman Turkey but was made really famous by hat makers in Fes, Morocco.
in Fes, Morocco
Morocco
A fez in Doctor Who is a hat.
The Fez was created in 1976.
Men wear a fez.
Men wear fez on head. Women do not wear them.
the fez
The Silver Fez was created in 2009.
Widad Fez was created in 1948.
MAS Fez was created in 1949.
Capture of Fez happened in 1575-03.
A 'fez' is a small conical hat originating in Morocco.
No, a tassel is a string bobble hanging from the fez