FP 2003 - Correcting a <img> validation error

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.
 
R

Ronx

Change longdesc="Golf Clubs Championships - Team winners XYZ GC" to

title="Golf Clubs Championships - Team winners XYZ GC"
 
M

Malcolm

Thank you Ron that's brilliant - HTML Tidy now reports 0 errors and 0
warnings!

Malcolm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top