html cheat sheet
- Image tag with max height:
<img style=”max-height: 200px;” src=”https://www.ocf.berkeley.edu/~ykhan/public/share/yasser_khan_07052013_600px.JPG” alt=”” />
- Image tag with max height and link:
<a href=”https://www.ocf.berkeley.edu/~ykhan/public/my_cv/yasser_khan_academic_cv.pdf”>
<img style=”max-height: 80px;” src=”https://www.ocf.berkeley.edu/~ykhan/public/share/pdf.png” alt=”” />
</a>
-
Generating favicon: this link explains the process in detail (http://www.thesitewizard.com/archive/favicon.shtml), now delete the .ico file, go to http://www.html-kit.com/favicon/ and save your image as a .ico file (16px X 16px) then upload back into the attachments. Google site knows to identify the .ico file with the FavIcon or icon located in the browser tab.
-
Site redirect
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Yasser's Page</title>
<meta http-equiv="REFRESH" content="0;url=http://www.ykhan.com/"></HEAD>
<BODY>
Redirecting to www.ykhan.com ... Please wait ...
</BODY>
</HTML>
Last modified: 2017-07-20