header logo position html code example
Example: 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>