Answers for "inserting logo in header 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

Browse Popular Code Answers by Language