Wednesday, June 28, 2017

HTML & Google Maps API

To: Dr. Peterson

From: Kelly Shaw


<!DOCTYPE html>
<html>
<h1>Montclair State University</h1>
<body>
<hr>
<b>
<p style="color:red;">
<font face="courier" size="5">Directions to Campus
</font><br />

<iframe width="600" height="450" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?q=Montclair%20State%20University&key=AIzaSyCZuTR4epQbXZMj4M8FnaRntxqwvoLfcFc" allowfullscreen></iframe>

</body>

<html>
<head>
<p style="color:blue;"><font face="courier" size="3">
<script>//javascript code
a=15;//initialization of variables
b=25;
c=a+b;//perform sum operation
document.write("sum of numbers is: " +c);//print the result(+ is a concatenate operator)
</script></p></font><br />
</head>
</html>

</html>

No comments:

Post a Comment