Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDavid Service
12,928 PointsReplacing <img> tag with CSS image.
Would using this CSS technique for the inclusion of our logo really make for better accessibility and SEO outcomes?
Considering that any embedded <img> tag would have βaltβ and βtitleβ attributes (which we lose the use of with this technique), are the accessibility and SEO outcomes really that much better?
Not a critical question, but it has me a bit curious if anyone has the time to shed some light on it.
Thanks for the help,
David
David Service
12,928 PointsHi Zachary,
That's just the answer I was looking for. Thanks for straightening that out for me.
David
Zachary Green
16,359 PointsZachary Green
16,359 PointsI would use css for backgrounds and other aesthetic img's. for img's that are content i would use the img tag for the exact reason of SEO.