A
A
Alexey Lebedev2012-12-03 14:33:38
css
Alexey Lebedev, 2012-12-03 14:33:38

Logo: img VS background-image

There is a site on 5 pages. With minimal graphics. Those. all in CSS, no background images except for the logo.

Here are 2 options:
1) Make a logo via DIV by setting background-image.
2) Make a logo through IMG.

What are the pros and cons of these approaches?

Personally, I saw that most people do it through DIV, but in IMG you can add the name of the company through ALT, which, in my opinion, is a good plus.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Paveldest, 2012-12-03
@swanrnd

send through - link to the main page + alt + title + register the name of the company
it turns out <a href="/" alt="name" title="name">Name</a>
like this IMHO

T
Talyutin, 2012-12-03
@Talyutin

IMG
+ the user can easily save the image
+ can be indexed by search engines
cons img and pros for background-image can't think of for this use.

W
wscms, 2012-12-03
@wscms

Do it via img
As one of the pluses: plugins like "publish on the wall" and others will not see your logo if it is in the background-image

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question