1 Create a bezier curve Shift A and then select Curve > Bezier Curve from the menu.
2. Select the Path icon on the right panel and open the Geometry and Bevel dropdown.
3. Scale the Depth to create a tube thickness.
4. Select the end of the vertex and extrude the path by pressing E. (Go to the top or side view to keep the extrusion to conform to a single axis.)
5. In the Curve panel, adjust the Extrude field to scale the height of the mesh.
6. Go back to the Depth and change the value to 0 to create a ribbon like surface.