Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2017년 10월.
HTML <time> 요소는 시간의 특정 지점 또는 구간을 나타냅니다. datetime 특성의 값을 지정해 보다 적절한 검색 결과나, 알림 같은 특정 기능을 구현할 때 사용할 수 있습니다.
<time> 요소가 나타낼 수 있는 시간은 다음과 같습니다.
| 플로우 콘텐츠, 구문 콘텐츠, 뚜렷한 콘텐츠. |
| 구문 콘텐츠. |
| 불가능, 시작과 끝에 태그를 추가하는 것은 필수입니다. |
| 구문 콘텐츠를 허용하는 모든 요소. |
| 모두 |
| HTMLTimeElement |
이 요소는 전역 특성을 포함합니다.
datetime요소의 시간 또는 날짜 값. 아래에서 설명하는 형식 중 하나여야 합니다.
<time> 요소는 기계가 읽을 수 있는 형태로 날짜와 시간을 표현할 때 사용합니다. 예를 들어, 일정의 경우 사용자 에이전트가 자동으로 달력에 일정을 추가할 수 있도록 정확한 일시를 나타낼 수 있습니다.
복잡한 계산상 문제로 인해, 그레고리력의 도입 이전 시간을 나타낼 때 사용해서는 안됩니다.
기계가 읽을 날짜와 시간 값은 datetime 특성의 값으로, 아래의 적절한 형식 중 하나여야 합니다. datetime 특성이 없는 경우 어떠한 자식 요소도 두어서는 안되며, 요소의 텍스트 콘텐츠를 datetime 특성 값으로 간주합니다.
| HTML # the-time-element |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2026년 4월 15일 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.