![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to display human readable date in HTML?
Use the HTML <time> tag is used for displaying the human-readable date and time. The following is the attribute −
Attribute | Value | Description |
---|---|---|
datetime ![]() | datetime | it is machine readable date time |
Example
You can try to run the following code to display time −
<!Doctype html> <html> <head> <title>HTML time Tag</title> </head> <body> <p>The time is <time>18:16 pm</time></p> </body> </html>
Advertisements