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

Share with your friends
AhmedNazir

Call

Answer: Option 1

For date- and time-related data, the time element and its datetime attribute can be used.