Easy answer- use a background image.
Less easy answer - is the image content or just a visual
representation of existing content?
I would say the link is the real content and you are adding to that
visually with an icon image.
Steve
Sent from my iPhone
On 11 May 2010, at 10:48, "Naveen Bhaskar - live"
<[email protected]> wrote:
Hi,
what is the correct semantic structure for putting an icon in the
website. when I checked youtube , I see the icons loaded with css
to a spacer which is 1x1 size. Is that a good approach?
I want to show an email id with an email icon with that. can anyone
suggest me the right semantic structure .
<span class="email">
<img src="spacer.gif" alt="'>
<a href=mailto:[email protected]>some_email_id</a>
</span>
or
just <a href=mailto:[email protected]>some_email_id</a> and attach the
icon with css background property for the anchor tag?
thanks a lot in advance.
.naveen_bhaskar
{
email : [email protected];
yahoo : [email protected];
}
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************