Bookmark this site!
AHGP NEWSLETTER
Please Click to
Subscribe

facebook,social,social network,sn 
 
 

HTML Help and Tidbits

These codes have been provided by Coordinators of AHGP for the benefit of
old and new members. The last code on the page, tells you if the date is more
than 6 months old, it might be a good time to add some new information to you site.

To Keep Visitors on you page

Use this Code Get these Results or looks like
<a href="https://archive.org/details/acpl_veteransadmin
_01_reel01
<view-source:https://archive.org/details/acpl_veteransadmin
_01_reel01>">

And add to it like this:
<a href="https://archive.org/details/acpl_veteransadmin
_01_reel01
<view-source:https://archive.org/details/acpl_veteransadmin
_01_reel01>"
target="_blank">
The top link keeps people on your pages, and should be used on all links to pages within your site.

Second link sends them to a page off your site and opens in a new window, leaving your page on their desk top so no matter how much they look around, you are still there for them to come back to.

Thanks to Paula for providing this code

Copyright Yearly Update

Use this Code Get these Results or looks like
<!--#config timefmt="%Y" --><!--#echo var="DATE_LOCAL" -->
Insert this code following 2011-on the Code page,  You do need a .htaccess file in your online folder
2011 - 2014
Do this once and the page will update January 1.

Provided by Webmaster

Date & Time and Last Updated

Use this Code Get these Results or looks like
<p>
<center>
<table border="6" cellpadding="4" cellspacing="1">
<tr><td><center><b>This web page was last updated.</b></center></td></tr>
<tr><td><center> <b><!--#echo var="LAST_MODIFIED"--> </b></center></td></tr>
</table>
</center>
<p>
Today's date and time is
Sun Jan 19 2014 11:54:02 GMT-0800 (Pacific Standard Time)
This document was last modified on:
01/18/2014 13:58:07

Provided by Susan

Last Updated

Use this Code Get these Results or looks like
<center><script language="Javascript">
document.write("This page was last Updated on: " + document.lastModified +"");
</SCRIPT></center>
Monday, 02-Nov-2015 12:02:33 EST

Back


 

 

 
 

Copyright August © 2011 - 2016 AHGP  The American History and Genealogy Project.
Enjoy the work of our webmasters, provide a link, do not copy their work.