Answers for "how to add a logo to the header in html"

0

how to put logo in header html

#Put this in Head
.header img {
  float: left;
  width: 100px;
  height: 100px;
  background: #555;
}

.header h1 {
  position: relative;
  top: 18px;
  left: 10px;
}
#Put this in body
<div class="header">
  <img src="debian.png" alt="logo" />
  <h1>Debian</h1>
</div>
Posted by: Guest on May-05-2021

Code answers related to "how to add a logo to the header in html"

Browse Popular Code Answers by Language