Useful HTML Code
The following is code that you can copy and paste into your HTML documents that may make your life a bit easier. Simply copy the text from this page and paste it in the appropriate area of your HTML document.
The following code should be placed at the beginning of all of your HTML documents:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
The following code should be placed in the appropriate place in order to create a link to e-mail. Use this instead of the usual "mailto:" link in HTML.
You should change only the highlighted areas to reflect your name:
Email: <a href="http://web.eku.edu/contact
/?c_email=melanie.bentley&title=Contact Melanie Bentley">Melanie Bentley</a>
This code places a line in your document that says when you last updated your web page. Simply copy and paste it in your document and it will automatically change whenever you update your webpage with the most recent date:
<p style='margin-left:1em;'><em>Last Updated:
<?php echo date("F d, Y", getlastmod()) .' at '. date("h:i a", getlastmod()); ?>
</em></p>
|