An altitude of a triangle is a line segment between one of the vertices of the triangle and its opposite side, forming a right angle with the opposite side.
An altitude can be created using any of the vertices of a triangle and its opposite side.
For an obtuse triangle it is possible to create an altitude using a segment that contains the opposite side rather than using the opposite side itself.