找回密码
 注册
搜索
热搜: 回贴

搜索引擎优化-如何用CSS图片做背景

2009-12-16 23:37| 发布者: admin| 查看: 53| 评论: 0|原作者: 情殇

这里介绍的是另一种可以让搜索引擎读取图片文字的做法,是通过CSS完成的。
在你的HTML文件里:


My Company Name - My Unique Selling Proposition Why You Should Get My Service
情缘.教程_网 [http://Www.XiuGoo.Com]


在你的CSS文件里:
#myimage {
background: url(”../images/path/myimage.jpg”);
height: 100px;
width: 760px;
}
#myimage span {
display: none;
}

请注意不要过分优化,切莫如下作法,你会GOT BANNED.


My Company Name - My Unique Selling Proposition Why You Should Get My Service - My company does this, this, and that. We also offer this and that, we are the best in doing all these things. product 1, product 2, product 3, service 1, service 2, service 3.


最新评论

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-30 01:25 , Processed in 0.212941 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

返回顶部