Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this case you can tinsplace:download my 0 byte favicon.ico or you can create your own the touch command,

Code Block
languagebash
sudo cp ~/favicon.ico /var/www/

...

To activate your favicon, you must modify the source of your web page. Add this line to the <head> section of your page:

Code Block
langlanguagehtmlxml
<link rel="shortcut icon" href="/favicon.ico">

For example,

Code Block
langlanguagehtmlxml
<html>
<head>
    <title>This is the title of my page!</title>
    <link rel="shortcut icon" href="/favicon.ico">
</head>
<body>
    Hello world!
</body>
</html>