Michael Kalina wrote:
Hi!
On my website (http://michaelsremarks.blogspot.com/) I use
a so called flickr-badge. That's some source-code that
makes it possible to show a random image out of my gallery
on flickr.
Now my problem is that this code does not validate on xhtml
1.0 strict. Can please somebody help me get this code
right, so that it validates? (I am not guru enough to do
this by myself.)
The not validating source code is the "picture" beneath the
sidebar-caption "Aktuelles Bild".
Your <a> element in that bit of code should be wrapped in a
<div> or a <p>, which I think would normally sit inside a
<noscript> element. Not needed for validation though afaik.
In the <img> element an alt attribute is required.
Also the last <script> should have type instead of language.
Like this it would validate:
<script type="text/javascript" src="http://www....."></script>
<noscript><div><a href="http://www....."><img
src="http://www......" class="flickrimg" id="flickrimg1"
alt=""></a></div></noscript><script type="JavaScript"
src="http://www...."></script>
Plus what Steve said :-)
--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Twarres - Between Two Houses