I wonder which one is better: adding header image with img src in html, or as a background in CSS.
Also, in source code I can specify alt (for accessibility).
I know IE6 has issues with transparent png.
What is your practice?
Answered by diafol 3,720 in a post from
Jump to Post
I always followed the idea that a html image would be good for logos etc, because you can place them in a link, so the user goes to the homepage when clicked.
A big banner across the screen, meant to be a background, should, IMO, be a css background image. …
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.