I have a date on Valentines day.
Note: The time element does not render as anything special in any of the major browsers.
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The time datetime attribute</h1>
<p>I have a date on <time datetime="2017-02-14 20:00">Valentines day</time>.</p>
<p><b>Note:</b> The time element does not render as anything special in any of the major browsers.</p>
</body>
</html>
How to add A deleted text with a date and time of when the text was deleted | HTML Attribute |
How to add An inserted text with a date and time of when the text was inserted | HTML Attribute |
How to add A time element with a machine-readable datetime attribute | HTML Attribute |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Attribute |
Uploaded by: | Admin |