When writing compliant XHTML, attributes that belong to elements need to be defined by double-quotes, and never by a single quote.
Good example:
Code:
<img src="img/mypic.jpg" border="0" alt="User Picture" />
BAD example:
Code:
<img src='img/mypic.jpg' border='0' alt="User Picture" />
[+] Developer .. Designer .. Marketer [+]
__________ my blog _____________
Member
From: Loughborough, United Kingdom
Registered: 2006-04-14
Posts: 796
I've been thanked 13 times.
Offline
The border attribute is obselete though now! 
NoSting Hosting - Brightside Hosting Ltd: Member of Nominet / eNom ETP
^^^ Now with over 400 free templates, ShoutCast, LAME + FFMPeg
Ringtones - Palace Marketing Ltd: D2C and B2B mobile content since 2002
mobtex! You are so right!
Here's a reference:
http://www.w3.org/TR/xhtml-modularizati … magemodule
Amazing.. I have been using that attribute for ages, and now my instinct is writing it even if it's not inside a link <a> element. I guess I'll have to remember from now on!
Thanks
2 things though:
1) W3C validator does not say anything about it when parsing a page with border="0"
2) On the reference link I gave at the top of this post, check out the attribute "longdesc". Interesting. VERY interesting
_
[+] Developer .. Designer .. Marketer [+]
__________ my blog _____________
Member
From: Loughborough, United Kingdom
Registered: 2006-04-14
Posts: 796
I've been thanked 13 times.
Offline
rafi wrote:
mobtex! You are so right!
1) W3C validator does not say anything about it when parsing a page with border="0"
2) On the reference link I gave at the top of this post, check out the attribute "longdesc".

I think it could be due to the doctype, 1.1 which I work on now doesn't allow it but 1.0 and strict might hence what you validate returns clean results.
In terms of accessibility longdesc is neat, I've known about that one for a while.
Could longdesc make us richer from an SEO viewpoint? I don't know but it makes us more accessible so good does come from using it.
NoSting Hosting - Brightside Hosting Ltd: Member of Nominet / eNom ETP
^^^ Now with over 400 free templates, ShoutCast, LAME + FFMPeg
Ringtones - Palace Marketing Ltd: D2C and B2B mobile content since 2002
| Never |


