how we add favicon icon in html

Adding a favicon to a static HTML page

<!DOCTYPE html
      PUBLIC "-//W3C//DTD HTML 4.01//EN"
      "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US">
<head profile="http://csszilla.blogspot.in">

<link rel="icon" 
      type="image/png" 
      href="http://csszilla.blogspot.in">


[…]
</head>
[…]
</html>



add line in your HTML head part which is written in bold characters. 

Comments

Popular posts from this blog

div fixed on scroll, scorll js, js for fixed div when scroll

Basic HTML interviews questions