No, the whole point is that t cannot be "all real numbers". That could give the entire line, not the line segment. And you still haven't dealt with the "directed" part. Do you understand the difference between a line segment and a line? Do you understand what a directed line or directed line segment is?
Okay, that gives the "segment". Now what about the "directed" part? Unfortunately, your original statement of the problem doesn't give a direction. You just said "the directed line segment joining (1,1,1) to (1,3,1)" which does not state a direction. Is the direction from (1, 1, 1) to (1, 2, 1) or from (1, 2, 1) to (1, 1, 1)?