.innerText
Term side of the Card
Topic: Object on Page
Unit title: .innerText
Categories: Property
Explanation side of the Card
Explanation: The browser API property of an HTML element that represents the visible text content inside the element. Unlike `.textContent`, it respects the CSS styles and doesn't include hidden elements.
Browser compatibility:
- The chrome browser supports this feature starting from version 1
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 45
- The safari browser supports this feature starting from version 1
Availability: