how to put a logo in html code example

Example 1: how to add a logo to website logo

<head>
  <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
</head>

Example 2: how to add a logo to a website logo in html

<IMG SRC="hostinger-logo.png" ALT="some text" WIDTH=600 HEIGHT=400>

Example 3: how to add logo in website using html

How to add website logo using html

Example 4: how to add a logo icon in HTML

<!DOCTYPE html>
<html>
  <head>
    <title>This is a title</title>
    <link rel = "icon" type = "image/png" href = "/icon.png">
    <!-- For apple devices -->
    <link rel = "apple-touch-icon" type = "image/png" href = "/icon.png"/>
  </head> 
</html>

Tags:

Go Example