best practice for last-modified and created dates

Posted by drewbenn on Pro Webmasters See other posts from Pro Webmasters or by drewbenn
Published on 2012-11-29T07:50:14Z Indexed on 2012/11/29 11:22 UTC
Read the original article Hit count: 163

Filed under:
|

I have a website with a handful (currently 3; I anticipate about a dozen when it's complete) of static html pages. I'd like to include "created" and "last-modified" dates in the pages for the benefit of visitors who arrive a week or a month or a few years from now. I expect anyone who cares to be viewing the source, so I could do:

<!-- created yyyy-mm-dd, last-modified yyyy-mm-dd -->

but I'd like to use something more standard (and elegant). I've found one reference to last modified (but only a mention in the text, not an actual code reference, so I'm not positive how to properly implement it) but not created.

Is there a proper way to display both (or at least one) of these dates?

© Pro Webmasters or respective owner

Related posts about html

Related posts about static