Created
February 25, 2014 15:31
-
-
Save bitwiser/9211191 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> | |
© 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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