HTML/CSS - If you need only the text content, without the HTML markup, you can use the text() method: Online Editor and JavaScript Compiler | Sololearn

If you need only the text content, without the HTML markup, you can use the text() method:

+6