Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/image/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Image 如何在浏览器选项卡中放置图像/徽标_Image_Web_Browser_Tabs - Fatal编程技术网

Image 如何在浏览器选项卡中放置图像/徽标

Image 如何在浏览器选项卡中放置图像/徽标,image,web,browser,tabs,Image,Web,Browser,Tabs,快速提问。你知道,当你打开一个新窗口时&在页面顶部,你会看到所述窗口的标签&你会看到你在标题标签中键入的任何内容&你会看到一个小图像(网站的徽标)。我如何在这个小标签中放置图像/徽标?我必须在我的标题标签内放置图像链接吗 这是我的HTML: <!DOCTYPE html> <html lang="en"> <head> <title>Round Table</title> <meta charset="utf-8">

快速提问。你知道,当你打开一个新窗口时&在页面顶部,你会看到所述窗口的标签&你会看到你在标题标签中键入的任何内容&你会看到一个小图像(网站的徽标)。我如何在这个小标签中放置图像/徽标?我必须在我的标题标签内放置图像链接吗

这是我的HTML:

<!DOCTYPE html>

<html lang="en">

<head>

<title>Round Table</title>

<meta charset="utf-8">
<link rel="stylesheet" href="RTH.css">
<script src="RTH.js"></script>

</head>

<body>


<H1> Come & take a seat at the Round Table B] </H1> 

<p> "Where <i>REAL MUSIC</i> still exists"</p><br><br>

<ol type=I> <H2> <li>BEAT$</li> 
<br><li>Music by Mercile$$</li> 
<br><li>Spoken Word</li> <br>
<li><a href="RthPg2.html" title="RthPg2">Tale$ of a Blind Sword$man</a></li> </H2> </ol><br><br><br>

<dt><i>RTH</i> consists of:</dt> 
<dd>Show Luciano, Pistol McFly, Dior, YZ, & last but not least...Mercile$$</dd>

<p> thee music industry is DEAD !! i hope to bring restoration.<br>

                                                                                            ~mercile$$</p><br>

<footer>&copy; Round Table</footer>
</font>
</body>
</html>

你需要一个正方形的图像或图标,然后把这个代码放在你的脑袋里

<link rel="icon" type="image/png" href="/path/image.png"/>

使用此站点转换图像很容易 然后在头部,但改变你的形象和路径的名称

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

重要的一点是将链接放在头部标签之间:

<html>
    <head>
        <link rel="shortcut icon" type="image/png" href="img/logo.ico">
    </head>
    .
    .
    .
</html>

.
.
.

图像大小也可以是24像素。这种方法对我很有效。
<html>
    <head>
        <link rel="shortcut icon" type="image/png" href="img/logo.ico">
    </head>
    .
    .
    .
</html>