html add logo to header code example
Example 1: how to add a logo to a website logo in html
<IMG SRC="hostinger-logo.png" ALT="some text" WIDTH=600 HEIGHT=400>
Example 2: how to add logo next to title html
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
Example 3: 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>