Your Guide to Professional
Web Site Design and Development

HTML Tips
HTML Codes
Web Development
Web Design Tips
JavaScript Codes
216 Web Safe Colors
CSS Tutorial
JavaScript Tutorial
ASCII Character Codes

Offering a guide to professional web site design, web page design and web design guidelines

| Web Site Development | HTML Codes | HTML Tips | Web Design TipsJavascript Snippets | 216 Safe Colors | Symbols | CSS Tutorial | JavaScript Tutorial |

Displaying the Last Modified Date within a Web Page


If you would like to display the last modified date on your web page, place the following code within the HTML of your web page where you would like the date to appear.

Example:




Last Modified HTML Code:

<script language="Javascript">
document.write("This page was last modified on: " + document.lastModified +"");
</SCRIPT>

Change the text indicated in red to whatever you'd like.

If you would like to use this JavaScript code to display your web page's last modified date, it is probably best to place the code toward the bottom of your web page.

 More Web Design Tips