HTML time tag
- 24-07-2022
- Trung Minh
- 0 Comments
The time tag defines a time value that can be understood by humans. In essence, the time tag will not affect the display to the user.
So what is the use of the time tag and what do we use it for?
The time tag is used to encapsulate a time value ( <time>1:45</time>) which will provide an encoded information to the computer so that the computer can understand what 1:45 is, through The user will then be able to provide additional reminders when that time comes. And that coding will also help search engines generate more accurate results.
Using
For example , use the time tag to mark times.
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <h1>Học html miễn phí tại web888.vn</h1> <p>Thời gian diễn ra các trận đấu Cup c1 là <time>1:45</time> giờ mùa hè và <time>2:45</time> giờ mùa đông.</p> </body> </html>