网页上的网站标志有多重要? [英] How important is the website logo on a page?

查看:105
本文介绍了网页上的网站标志有多重要?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已停止为网页的徽标插入img标签。因为它不是作为内容一部分的图像,所以它是一个设计元素,但它仍然是我想要控制的信息。所以我只是把标题写在一个a元素中作为display:block,overflow:hidden,我用一些填充将文本推出。我认为这是一个很好的SEO解决方案,因为您可以控制徽标在页面上的重要性。



但现在我的困境已经开始。页面的标志有多重要?



分开的列表将徽标放在h1元素中。但是,这个标志真的很重要吗?在文章页面上,您有两个H1元素(徽标和文章的标题)大多数网站只使用img balbal / a,但我不喜欢这种解决方案。因为我只是想使用img作为内容的一部分...



它的一个哲学问题,我希望你能给我一些输入或者一些文章给我阅读有关...

解决方案

以这种方式思考:文本到语音浏览器翻译该页面是否有残疾人访问该网站?



您是否希望将文字转换为图片来提及徽标?如果是的话:标志应该是一个img,标题提供文字说明。如果没有,请使用任何替代方法,以便将图片作为内容。



您想强调页面标题,文章时间和徽标的重要性吗?



我想我会


  • 使用 img 为徽标(所以它也被打印出来,如果您使用背景图像,并不总是这种情况)

  • 提供了一个不错的标题(带 alt 属性)描述徽标和公司

  • 的页面标题为 company - page title

  • 主标题为 h1



我觉得它也应该给出不错的SEO结果。


I have stopped to insert "img" tags for the logo of the page. Because its not an image that is part of the content, its a design element but its still a information I want to have control over. So I just write the title in a "a" element as display: block, overflow: hidden and I push the text out with some padding. I think thats a good solution for SEO because you are keeping control of how important the logo should be on a page.

But now my dilemma is starting. How important is the logo of a page?

"A list apart" puts the logo in a h1 element. But is the logo really that important? On article pages you have two H1 elements (the logo and the title of the article) Most of the sites just use a img balbal /a, but I don't like this solution. Because I just want to use img for images that are part of the content...

Its kinda philosophical question, I hope you can give me some input or some articles to read about that...

解决方案

Think about it this way: "How should a text-to-speach browser translates the page if a disabled person visit the site?".

Do you want the text-to-speach to mention the logo as an image? If yes: the logo should be an img with a caption providing a textual description. If no: use whatever alternative to no have image as content.

Do you want to emphasize the importance the page title, the article time, and the logo?

I guess I would

  • use an img for the logo (so that it's also printed, which is not always case if you use background image)
  • provide a nice caption (with "alt" attribute) that describes the logo and the company
  • have the page title be "company - page title"
  • have the main title be h1.

I feel like it should also gives decent SEO results.

这篇关于网页上的网站标志有多重要?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆