concept text content in category jQuery

appears as: text content, text content
jQuery in Action, Third Edition

This is an excerpt from Manning's book jQuery in Action, Third Edition.

You can also use the text() method to set the text content of the elements in the jQuery object. The syntax for this format is as follows.

Method syntax: text

text(content)
Sets the text content of all elements in the set to the passed value. If the passed text contains angle brackets (< and >) or the ampersand (&), these characters are replaced with their equivalent HTML entities.
Parameters
content (String|Number|BooleanFunction) The text content to be set into the elements in the set. When the value is of type Number or Boolean, it’ll be converted to a String representation. Any angle bracket characters are escaped as HTML entities. If a function, it’s invoked for each element in the set, setting that element as the function context (this). The function is passed two values: the element index and the existing text. The function’s returned value is used as the new content.
Returns
The jQuery collection.