Horje

How to add An inserted text with a date and time of when the text was inserted

The ins datetime attribute

This is a text. This is an inserted text.

Note: The datetime attribute does not render as anything special in any of the major browsers.

index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>The ins datetime attribute</h1>

<p>This is a text. <ins datetime="2015-09-15T22:55:03Z">This is an inserted text.</ins></p>

<p><b>Note:</b> The datetime attribute does not render as anything special in any of the major browsers.</p>

</body>
</html>

Output should be:

How to add An inserted text with a date and time of when the text was inserted




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin