Auto-translated
If the author of the topic is interested in a scientific definition:
So, as a mathematician, I'll say:
A triangle is a geometric figure consisting of three points that do not lie on the same line, and three line segments that connect these points in pairs.
Regarding touching it, of course, you can! Why not? For example, a ruler-triangle. It's still a triangle!