HTMLTimeElement
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since October 2017.
HTMLTimeElement
даёт специальные свойства (beyond the regular HTMLElement
interface it also has available to it by inheritance) для управления <time>
элементами.
must be a string
Свойства
Наследует свойства от родителя HTMLElement
.
HTMLTimeElement.dateTime
-
Это
DOMString
который отражаетdatetime
HTML атрибут, содержащий понятный для машин формат даты и времени.
Методы
Нет определённого метода; наследует его у родителя, HTMLElement
.
Спецификации
Specification |
---|
HTML # htmltimeelement |
Совместимость с браузерами
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
HTMLTimeElement | ||||||||||||
dateTime |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Has more compatibility info.
Смотрите также
- HTML-элемент, реализующий данный интерфейс:
<time>
.