FP 2003 - Correcting a <img> validation error

  • Thread starter Thread starter Malcolm
  • Start date Start date
M

Malcolm

This is a line of HTML generated in FP2003:

<tr>
<td width="81%" colspan="3">
<p align="center">
<img border="0" src="images/teamwinners.jpg" width="480"
height="343" longdesc="Golf Clubs Championships - Team winners XYZ GC"
alt="Championships 2007 - Team winners XYZ" align="middle"></p>

</td>
</tr>

Validation in my default browser (Firefox 3.0.4) generates a warning and
cause:
Warning: <img> escaping malformed URI reference
Cause: A URI contains impermissible characters or quotes around the URI
are not closed.

As there is no closing </img> tag before </p> I inserted one only for
another error to be generated (as well as the one above) `discarding
unexpected </img>'.

I have been unable to work out what I need to do (if anything) to
correct the first error. I would appreciate help.
 
Change longdesc="Golf Clubs Championships - Team winners XYZ GC" to

title="Golf Clubs Championships - Team winners XYZ GC"
 
Thank you Ron that's brilliant - HTML Tidy now reports 0 errors and 0
warnings!

Malcolm
 
Back
Top