Created
March 24, 2014 13:02
-
-
Save bobbydeveaux/9739616 to your computer and use it in GitHub Desktop.
A simple website
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
<html> | |
<head> | |
<title>This is my title</title> | |
<style type="text/css"> | |
ul { | |
background-color: #ff6600; | |
} | |
ul li{ | |
list-style-type: none; | |
display: inline-block; | |
padding: 5px 10px 5px 10px; | |
} | |
table tr{ | |
background-color: #EFEFEF; | |
} | |
table tr:nth-child(even) { | |
background-color: #333333; | |
color: #ffffff; | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Accessories</h1> | |
<ul> | |
<li><a href="myawesomewebsite.html">Home</a></li> | |
<li><a href="accessories.html">Accessories</a></li> | |
<li>Models</li> | |
<li>Insurance</li> | |
</ul> | |
<div> | |
These are my favorite car parts: | |
<table> | |
<thead> | |
<tr> | |
<td>Part#</td> | |
<td>Description</td> | |
<td>Price</td> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>00001</td> | |
<td>Tyres</td> | |
<td>£189.00</td> | |
</tr> | |
<tr> | |
<td>00002</td> | |
<td>Engine</td> | |
<td>£2250.00</td> | |
</tr> | |
<tr> | |
<td>00003</td> | |
<td>Exhaust</td> | |
<td>£350.00</td> | |
</tr> | |
<tr> | |
<td>00004</td> | |
<td>Steering Wheel</td> | |
<td>£250.00</td> | |
</tr> | |
</tbody> | |
</table> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment