我试图添加我的图标
但没有加载
<head>
<title>M-Quran</title>
<meta charset="utf-8" lang="ar" />
<meta http-equiv="default-style" content="default-style"/>
<meta name="author" content="Ahmed Mohsen" />
<meta name="description" content="feel free to listen Quran with most reciters" />
<meta name="keywords" content="Quran , Islamic" />
<link rel="Shortcut Icon" type="image/x-icon" href="favicon.ico" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link type="text/css" href="homeStyle.css" rel="stylesheet" />
<script type="text/javascript" src="jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="homeJS.js"></script>
</head>
那么,问题是什么?
答案 0 :(得分:0)
您可以从网络浏览器访问favicon.ico吗?另外,我建议你使用你的favicon.ico的完整网址。像这样:
<link rel="Shortcut Icon" type="image/x-icon" href="http://yourWebsite.com/favicon.ico" />
<link rel="icon" type="image/x-icon" href="http://yourWebsite.com/favicon.ico" />
并确保您可以从网址http://yourWebsite.com/favicon.ico