CSS or Source Code to design Awoko Newspaper website that co
CSS or Source Code to design Awoko Newspaper website that consists of this information Information needed: information. Title of each working page consists of BUSINESS & FINANCE, EDITORIAL, AWOKO TOK TOK ENTERTAINMENT, FEATURES , NEWS, SPORTS.
Solution
Answer:
CSS Code :
<html>
<head>
<style>
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover {
background-color: #111;
}
</style>
</head>
<body>
<ul>
<li><a class=\"active\" href=\"#business\">Business and Finance</a></li>
<li><a href=\"#editorial\">Editorial</a></li>
<li><a href=\"#entertainment\">Entertainment</a></li>
<li><a href=\"#features\">Features</a></li>
</ul>
</body>
</html>
