[Post originally published on May 1, 2017.]
One thing you might want to do to a web page is add some code that automatically prints the last day and time the web page (.html) file was modified.
With Javascript, that is pretty easy to do. Just add this Javascript somewhere in the body portion of your .html file:
<p>This web page was last modified on: <span id="datetimelastmodded"></span>.</p><script language="Javascript"> document.getElementById("datetimelastmodded").innerHTML = document.lastModified; </script>
Careful about your meaning here.
When you say, “last modified on”, what you mean is that the file has been, at least, saved with a new date and time as of that date and time. This could be true even if none of the file’s innards were changed. For example, when you FTP a file to a directory on a web hosting server, and you overwrite an old file there with the file you are uploading, the file will have a new date and time even if nothing has changed about the file except the date and time it was last overwritten.