Home >Web Front-end >HTML Tutorial >What is the HTML

What is the HTML

(*-*)浩
(*-*)浩Original
2019-11-28 14:19:472832browse

HTML 46dd80ba616c57a652514755c74c4211 tag

What is the HTML <time> tag and is it useful?

##46dd80ba616c57a652514755c74c4211 tag will not work in any browser to present any special effects.

Definition and Usage

46dd80ba616c57a652514755c74c4211 tag defines a Gregorian time (24-hour clock) or date, the time and time zone offset are Optional. (Recommended learning: html tutorial)

This element can encode the date and time in a machine-readable way, so that, for example, the user Agents can add birthday reminders or scheduled events to users' calendars, and search engines can generate smarter search results.

Browser support

Currently all major browsers do not support the 46dd80ba616c57a652514755c74c4211 tag.

Differences between HTML 4.01 and HTML 5

The46dd80ba616c57a652514755c74c4211 tag is a new tag in HTML 5.

Example

How to define time and date:

<!DOCTYPE HTML>
<html>
<body>

<p>
我们在每天早上 <time>9:00</time> 开始营业。
</p>

<p>
我在 <time datetime="2010-02-14">情人节</time> 有个约会。
</p>

</body>
</html>

The above is the detailed content of What is the HTML

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn