Cosmo• 590
@cosmoart
Posted
Hi! Eriks, It looks great!... Here are some pros and cons. If you want more complete information you can visit this stack overflow question
Pros:
- You save an HTML tag.
- It is much easier to handle from the CSS
- You can put content on top of the image more easily than using <img>
Cons:
- You cannot use the alt attribute.
- Search engines and screen readers can not read them
- Users will not be able to select the image
Marked as helpful
1