Teacher's hat's ribbon?

Hi, I would like to create a teacher hat like this:


but I don’t know how to create the “ribbon”.
I’ve created a “long mesh” let’s say and I’ve tried apply to it a cloth modifier. The result is that, obviously, it falls on the ground, so I thought I may fix one extremity of the mesh to the hat, but I don’t know how to do that.
Also, how can I set things so that it will collide with the hat?
This is what I did for now, to clarify things because I’m not sure my explanation was good:

your able to make a vertex group that has the vertices that you want it to hang from in that group, then in the cloth settings turn on pinning and set the group you made as the Pinning group.

Thank you, it worked :slight_smile: