Re: attributes with missing values yield different errors?

On Thursday, April 4, 2002, at 04:12  PM, Liam Quinn wrote:

> No.  <table border> is actually equivalent to <table frame=border>.  
> Note
> this comment from the HTML 4.01 DTD in describing the values for the
> "frame" attribute:
>
>  The value "border" is included for backwards compatibility with
>  <TABLE BORDER> which yields frame=border and border=implied
>  For <TABLE BORDER=1> you get border=1 and frame=implied. In this
>  case, it is appropriate to treat this as frame=border for backwards
>  compatibility with deployed browsers.

That is what the prose of the specification says. What I am trying to 
understand is how the DTD knows this, and doesn't complain?

Is the other obtuse error it reports for

<table summary>

actually just trying to tell me I should have supplied a value?

--
Jim Correia
correia@barebones.com

Received on Thursday, 4 April 2002 16:18:05 UTC