- The value is the element’s datetime value.
- The value is the value of the element’s content attribute, if any, or the empty string if there is no such attribute.
- The value is the value of the element’s value attribute, if it has one, or the empty string otherwise.
- The value is the element’s textContent.