PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, November 9, 2022

[FIXED] How do I add an image to the header? is there a code?

 November 09, 2022     html     No comments   

Issue

enter image description here şimdiden teşekür ederim. how do i add a picture here? How can I install a thumbnail there? is there a shortcode. enter image description here


Solution

It's called a favicon.

You need to generate a .ico-File and put them into your project directory. Here is a simple generator: https://www.icoconverter.com

Then you can add the following code into your <head> element, next to your <title>

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

Make sure you name the generated file favicon.ico.

This way most browsers will support it!



Answered By - Sivery
Answer Checked By - David Goodson (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing