how to add a favicon link in html ?

Report
Question
748 views

To add a favicon to your website, add a <link> element to your "index.html" file, after the <title> element, like this:

Please explain why do you think this question should be reported?

Report Cancel
<!DOCTYPE html>
<html>
<head>
  <title>Website Name</title>
  <link rel="icon" type="image/x-icon" href="/path/favicon.ico">
</head>
<body>

<h1>For heading</h1>
<p> For paragraph.</p>

</body>
</html>

Thread Reply

Leave an comment

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>