In HTML there are tags such as
<div id="abc">TEXT HERE</div>
What would you cal lthe text here part?
I thought about calling it value, but value itself is an attribute of a tag.
Everything from the start tag to the end tag is an "HTML Element" The bit you refer to is the element content
It depends, on what exactly you are referring to:
<div>
tag?<div>
tag?<div>
tag?The question is not so easy to answer. Some examples:
innerText
to refer to the text content, whereas you would use innerHTML
to refer to any HTML content.getStringValue()
string()
method to retrieve the textMy personal answer would be to call it the (inner) text of an element.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With