This is a block of DHTML code which you can put in your HTML5/HTML/XHTML page which produces the pages last-changed date. if you tweak/change the file, the date cwill be changed to the date you last modified the file.
what this script is good and not good for
- HTML pages
- XHTML pages
- pages with straight DHTML are OK!
don't use for:
- not good if you use a menu regeneration script
- php/asp/asp.net/perl/ruby/jsp/python or other server side scripting pages
- CMS ("Site Builder") like weebly, yola, joomla, drupal, etc.
(it will always show the current date due to the nature of the menu/page generation is on-the-fly. so in that case, this script won't vbe for you.)
you can use any tags you want instad of the div tag I have listed. it can be a span, which does not produce line breaks.