I made a website about tennis for my final project. This was my second favorite project because I enjoyed working with HTML. Here is the code for the homepage; all the images were my own:
<!DOCTYPE html>
<html>
<head>
<title>Tennis</title>
<style>
#header
{
background-color: Chartreuse;
color: black;
text-align: center;
padding 5px;
}
#nav
{
line height: 30px;
background-color: CornflowerBlue;
height: 650px;
width: 130px;
float: left;
padding: 5px;
}
#footer
{
background-color: Black;
color:white;
clear:both;
text-align:center;
padding:5px;
}
</style>
<body bgcolor=”gray”>
<div id=”header”>
<img src=”http://www.webdeveloper.com/imagesvr_ce/webdeveloper/animation/bnifiles/tennis3.gif”>
<h1>Tennis</h1>
</div>
<div id=”nav”>
<a href=”file://hsdc10/student_data$/YOG2018/MTBattles/Unit3_Final_p1.html”>Rules</a><br>
<a href=”file://hsdc10/student_data$/YOG2018/MTBattles/Unit3_Final_p2.htm”>Types of Play</a><br>
<a href=”file://hsdc10/student_data$/YOG2018/MTBattles/Unit3_Final_p3.htm”>Tournaments</a><br>
</div>
</head>
<body>
<h3>History of Tennis</h3>
<p>Tennis is believed to have originated in northern France, and was played by striking a ball across a surface (court) with your hand. Eventually though, people created racquets to do the hitting. The game is most commonly played on a hard court; either clay or pavement; however, it can also be played on grass, most professional games are.</p>
<br>
<img src=”\\hsdc10\student_data$\YOG2018\MTBattles\tennis_court.jpg” alt=”tennis_court” width=”540″ height=”304″>
<br>
<h5>Companies That Make Tennis Merchandise</h3>
<p>Many companies make tennis attire/merchandise, but some are more tennis-centered than others. For example, the companies Babolat, Penn, and Gamma are mainly focused on tennis. Wilson, however, makes many tennis related things, but also makes merchandise for other sports.</p>
<div id=”footer”>
<p>Copyright 2015 MTB<p/>
<p>Tennis animation from webdeveloper.com</p>
</div>