A text is a body of language; it could consist of a single word like 'Ladies' or 'Gentlemen' on a toilet door right up to a complete book and can be either written or spoken.
"The grammar glossary is the most comprehensive I have seen on the Internet. The definitions are very clear and to the point." ~ Chris Durcan - Editor, The Language Key