Image border only complained once

Hi,

I don't know whether this is a bug or a feature, but the Validator complains
only once the use of the attribute 'border' on IMG when HTML4 Strict is
selected.

Given ist the following HTML File:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title></title>
</head>
<body>
<p><img border=0 src=img  alt=img>
<p><img border=1 src=img2 alt=img2>
<p><img border=2 src=img3 alt=img3>
</body>
</html>

And the validators error output is:

Error at line 7:
   <p><img border=0 src=img alt=img>
                  there is no attribute "BORDER" (explanation...)

and nothing more. I think if it is unknown at the first occurence, it should
be unknown for the other occurences, too.

regards,
 Björn Höhrmann

Received on Friday, 13 August 1999 16:36:12 UTC