<P> The ball remains in play from the beginning of each period to the end of that period, except when: </P> <Ul> <Li> The ball leaves the field by entirely crossing a goal line or touch line (this includes when a goal is scored); or </Li> <Li> Play is stopped by the referee (for example when The Laws have been infringed, an injured player requires attention, or the ball becomes defective). </Li> </Ul> <Li> The ball leaves the field by entirely crossing a goal line or touch line (this includes when a goal is scored); or </Li> <Li> Play is stopped by the referee (for example when The Laws have been infringed, an injured player requires attention, or the ball becomes defective). </Li>

When is the ball considered out in soccer
find me the text answering this question