There seems to be an issue with the layout of my menu as one item is displaying lower than the others without any clear reason.
<html>
<head>
<title>
My Website Homepage
</title>
</head>
<body>
<ul>
<li><a href="My first site.html"><H1>Home</H1></a></li>
<li><a href="Testimonials.html"><H1>Testimonials</H1></a></li>
<li><a href="Schedule.html"><H1>Schedule</H1></li>
<li><a href="About.html"><H1>About</H1></a></li>
<li><a href="Contact.html"><H1>Contact</H1></a></li>
</ul>
</body>
<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;
}
/* Change the link color to #111 (black) on hover */
li a:hover {
background-color: #111;
}
</style>
</head>
<body>
</style>
</html>
After examining the code, here is the outcome:
https://i.sstatic.net/ZGxIR.jpg
I'm currently using Google Chrome browser.