网站徽标未显示
我正在开发一个网站。我已经上传了该网站的徽标。当我在 PC 上运行时,徽标显示正常,但当我使用 FileZilla 在线上传文件时,徽标不会显示,仅显示替代文本。我已经仔细检查了代码,我几乎确定我的代码没有问题。就在这里,
<h1 id="logo"><a href="index.html" title="Stop4Gifts"><img src="uploads/logo.png" alt="Stop4Gifts"/> </a></h1>
请帮帮我。谢谢
I am working on a website. I have uploaded a logo for the site. The logo displays fine when I run it on my PC, but when I upload the file online using FileZilla, the logo does not get displayed but only the alt text is displayed. I have double checked the code and I am almost sure that my code is fine. Here it is,
<h1 id="logo"><a href="index.html" title="Stop4Gifts"><img src="uploads/logo.png" alt="Stop4Gifts"/> </a></h1>
Please help me out. Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
这意味着您的图像可能不存在,或者在服务器上具有不同的路径/名称。如果不是这种情况,请检查它是否不是
logo.PNG
并刷新页面。希望这有帮助。
This means your image may not be present, or has different path/name on server. If this is not the case, do check that it is not
logo.PNG
and also refresh the page.Hope this helps.
确保检查所有文件和文件路径的大小写。在这种情况下,我通常将所有内容都小写。
Make sure to check case on all files and file paths. I usually make everything lowercase in this type of situation.
需要检查的几件事:
A few things to check:
我检查了您的网站,没有这样的图像 [http://stop4gifts.com/uploads/logo.png] [右键单击 Stop4Gifts ,然后单击查看图像],可能是 .PNG?
i checked your site, there is no such a image [http://stop4gifts.com/uploads/logo.png] [right click on Stop4Gifts , and click view image] , may be it's .PNG?
您的扩展程序出现问题,需要将 .png 更改为 .PNG
Issue in your extension, need to change .png to .PNG
我最近使用 filezila 在互联网上上传了一个网站。我已经上传了该网站的徽标。当我在 PC 上运行时,徽标显示正常,但当我使用 FileZilla 上传文件时,徽标不会显示,只显示替代文本。所有的造型都很好地接受了头部和标志。
这是html和css代码:
I recently uploaded a website on the internet using filezila. I have uploaded a logo for the site. The logo displays fine when I run it on my PC, but when I upload the file using FileZilla, the logo does not get displayed but only the alt text is displayed. All the styling displays fine accept for the head and logo.
heres the html and css code: