[Playlist] "Valid XSPF" button embed code proposal
Lucas Gonze
lgonze at panix.com
Tue Jul 10 15:18:17 UTC 2007
Ivo Emanuel Gonçalves wrote:
> On 7/10/07, Sebastian Pipping <webmaster at hartwork.org> wrote:
>> What do you think?
>
> Do not add border attribute; that's CSS thing.
So:
<a href="http://validator.xspf.org/referrer/"><img src="valid-xspf.png"
width="88" height="33" style="border:0" alt="Valid XSPF Playlist"
title="Valid XSPF Playlist" /></a>
>
> Do not add slash if it's not XHTML; that makes tag soup.
It's legal HTML 4.01 to have the slash (as long as there is a space
before it), and not having the slash is very much illegal XHTML. Not
having the trailing slash in the HTML 4.01 version would require there
to be two versions. Two versions is not feasible from a usability
perspective.
> Do not make alt and title attributes equal; alt is for blind people,
> do not write alt tags without imagining hear that sentence read aloud
> to you all the time--it has to be meaningful and relevant.
So:
<a href="http://validator.xspf.org/referrer/"><img src="valid-xspf.png"
width="88" height="33" style="border:0" alt="Valid XSPF Playlist" /></a>
More information about the Playlist
mailing list