"Toe the line" is an idiomatic expression meaning either to conform to a rule or standard, or to stand in formation along a line. Other phrases which were once used in the early 1800s and have the same meaning were "toe the mark" and "toe the plank".