Skip to content

Instantly share code, notes, and snippets.

@bitwiser
Created February 25, 2014 15:31
Show Gist options
  • Save bitwiser/9211191 to your computer and use it in GitHub Desktop.
Save bitwiser/9211191 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Example</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1 style="font:times,courier,sans-serif;">Image of the Day</h1>
<img src="http://i.imgur.com/DyVlRnl.jpg" alt="Image of the day" />
<ul>
<li><a href="https://www.google.com/images">Click here to visit google images</a></li>
<li><a href="https://www.bing.com/">Click here to visit bing.com</a></li>
<li><a href="https://www.imgur.com/">Click here to visit imgur.com</a></li>
</ul>
<a href="mailto:emailme@example.com?subject=More Information Please" target="_blank">Email Me</a>
<footer>
&copy;&nbsp;2012 Mary Smith
</footer>
<script type="text/javascript">
function clickFunc(argument) {
alert("hi I am javascript");
document.removeEventListener("click",clickFunc);
}
document.addEventListener("click",clickFunc);
</script>
</body>
</html>
body{
font: arial,sans-serif;
background-color: #ccc;
}
img{
width: 90%;
height: auto;
padding: 5px;
border: 1px solid #000;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment