The Houston Texans secured their play-off spot with a 24-10 win against division rivals the Tennessee Titans in Nashville.