Currently, the Studio Ghibli Logo image is embedded in the HTML code at line 17. I am looking to place it in the top left corner of the navbar. How can I achieve this? Here is a reference image: ref image
If there is a more efficient way to code the navbar compared to what I have included, please share any tips, tools, or resources that you think may be helpful.
I have included a snippet of my code below.
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #52b2cf;
}
li {
margin-left: 50px;
float: Left;
}
li a {
display: block;
border-radius: 20px;
background-color: #fffbeb;
color: #7b81ab;
font-family: Arial, Helvetica, sans-serif;
text-align: center;
padding: 15px 18px;
padding-right: 70px;
padding-left: 70px;
margin: 20px;
text-decoration: none;
}
li a:hover:not(.active) {
background-color: #fff1cc;
}
.active {
background-color: #d8d5f2;
}
body {
background-color: ghostwhite;
border-style: solid;
border-color: white;
}
img {
margin-left: 10px;
}
h1 {
color: darkslateblue;
margin-left: 20px;
margin-left: 10px;
}
h2 {
color: lightcoral;
border-style: outset;
border-color: white;
margin-left: 10px;
}
p {
margin-left: 15px;
color: darkslateblue;
}
img {
margin-left: 10px;
}
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="home.css">
<title>Spirited Away Fansite</title>
<ul>
<li><a class="active" href="Home.html">Home</a></li>
<li><a href="FilmPlot.html">Film Plot</a></li>
<li><a href="cast.html">Cast</a></li>
<li><a href="prod.html">Production</a></li>
<li><a href="recept.html">Reception</a></li>
</ul>
<body>
<img src="images/Studio_Ghibli_logo.svg.png" alt="Studio Ghibli Logo" width="200" height="90">
<h1> 千と千尋の神隠し ∘ Spirited Away </h1>
<p> This is a fansite for the Studio Ghibli Film Spirited Away </p>
<h2> ABOUT </h2>
<p>
Spirited Away (Japanese: 千と千尋の神隠し, Hepburn: Sen to Chihiro no Kamikakushi, 'Sen and Chihiro's Spiriting Away') is a 2001 Japanese animated fantasy film written and directed by Hayao Miyazaki, animated by Studio Ghibli for Tokuma Shoten, Nippon Television
Network, Dentsu, Buena Vista Home Entertainment, Tohokushinsha Film, and Mitsubishi. Spirited Away tells the story of Chihiro Ogino (Hiiragi), a ten-year-old girl who, while moving to a new neighborhood, enters the world of Kami (spirits of Japanese
Shinto folklore).<br>
</p>
<img src=images/Spirited_Away_Japanese_poster.png alt="Spirited Away Movie Poster" width="290" height="400"> <img src="images/hayaomiya.jpg" alt="Hayao Miyazaki at desk" width="290" height="400">
</body>