In: Computer Science
Write an HTML file for a web page that contains the items below.
Use an internal style sheet to specify all fonts, sizes, colors, and any other aspects of the presentation. Your page should contain the following items:
1) A header with white text on dark green background (just for the header, not the entire page), in Impact font, bold, and centered.
2) Two paragraphs of text, each with dark gray text in Tahoma font, on a light blue background, and with a dark blue border.
3) At least two hyperlinks, with the default link color set to something other than blue, different for each link.
4) A bulleted (unordered) list with square bullets and left margin set to 100 pixels, with at least 3 bullet items.
<!DOCTYPE html>
<html>
<head>
<style>
header{
background-color: darkgreen;
}
header h1{
color: white;
font-family: Impact;
text-align: center;
}
p{
background-color: lightblue;
border: 1px solid darkblue;
color: darkgrey;
font-family: Tahoma;
}
.first-link{
color:#FF0000;
}
.second-link{
color: yellow;
}
.list{
list-style-type:square;
margin-left: 100px;
}
</style>
</head>
<body>
<header>
<h1>Heading</h1>
</header>
<p>I am the first paragraph</p>
<p>I am the second paragraph</p>
<a href="http://example.com/" class="first-link">Red
Link</a>
<a href="http://example.com/" class="second-link" >Yellow
Link</a>
<ul class="list">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
</body>
</html>