How to prefill the to, cc, bcc subject line and body of the message?
See Example:
<a
href="mailto:spam1@akalg.com?cc=spam2@akalg.com&bcc=spam3@akalg.com&subject=Subject%20line%20example&body=Here%20is%20the%20body%20of%20the%20Email">Subject line and body inside the message</A>
TEST THIS CODE: Subject line and body inside the message
How to redirect a page automatically?
Put a meta refresh tag n the document's head section.
Always provide a link to the page you redirecting to, in case the browser doesn't comply to meta tags.
See Example:
<html>
<head>
<meta http-equiv="refresh" content="5;url=http://www.yahoo.com">
</head>
<body>
This page should automatically redirect to www.yahoo.com
redirect to yahoo within 5 seconds.
</body>
</html>
Or you can use Javascript:
<html>
<head>
<script language="JavaScript">
<!--
function redirect()
{
window.location = "http://www.yahoo.com/";
}
//redirect in 5 secs
setTimeout("redirect();", 50000)
//-->
</script>
</head>
<body>
redirect to yahoo within 5 seconds.
</body>
</html>
Unix
How to replace file extension HTML with HTM for multiple files
See Example:
ls -1 *.html | awk '{ newFile = $0; sub("html", "htm", newFile); printf( "mv %s %s\n", $0, newFile ); }' | bash
|