HTML DOM
GitHub 0★
Get the text content of an element
Returns the raw text content of the
ele
element and its children. All the HTML tags are excluded.
const
text
=
ele
.
textContent
;
See also
Export a table to csv
Get or set the html of an element
Scale a text to fit inside of an element
Strip html from a given text
Get the size of an image
Go back to the previous page