G
G
GreenX52021-12-23 11:54:56
HTML
GreenX5, 2021-12-23 11:54:56

Inline svg as page favicon, is that possible?

The classic scheme for pointing to a favicon file is usually this:

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

We have an inline svg code for a vector image, like this:

<svg width="30" height="30">
 <rect width="100%" height="100%" fill="green" />
</svg>

Is it possible to specify this svg as a favicon, not as a link to an external file, but inline?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
true, 2021-12-23
@GreenX5

I do this - it works
itself, insert a line and check - it takes five seconds

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question