0

can somebody help me whether the shortcut icon can be called using a CSS file. other than the following code given below:

<link rel="shortcut icon" href="favicon1.ico">

3
Contributors
4
Replies
6
Views
9 Years
Discussion Span
Last Post by nikhita
1

It is not possible with CSS, but you can apply PHP include method, if you don't want <link rel> in header.

In header will be:

<?php include "favicon.php" ?>

In PHP file will be:

<link rel="shortcut icon" href="favicon.ico" />
Votes + Comments
Good work
0
<link rel="shortcut icon" href="favicon.ico" />

-- its is simple idea for your web site Fav Icon,
why r u plan form including another file

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.