
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
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>
- Related Articles
- How to return the "time" portion of the Date as a human-readable string.
- How to make numbers 'human readable' in MySQL?
- How to convert unix timestamp string to readable date in Python?
- Convert UNIX timestamp into human readable format in MySQL?
- AngularJS and HTML5 date input value - how to get Firefox to show a readable date value in a date input?
- Implement ORDER BY in MySQL to order records in human readable format?
- How do I get a human-readable file size in bytes abbreviation using C#?
- How to display the result more readable if the string is long stored in MySQL VARCHAR?
- How to display a fieldset in HTML?
- How to display deleted text in HTML?
- How to display an image in HTML?
- How to display rupee symbol in HTML
- How to display Base64 images in HTML?
- How to display date and time picker in ReactNative?
- How to display HTML in TextView in Android?

Advertisements