lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev correct </form> syntax in options menu


From: Al Gilman
Subject: Re: lynx-dev correct </form> syntax in options menu
Date: Wed, 26 Aug 1998 13:19:21 -0400 (EDT)

to follow up on what Leonid Pauzner said:

> While looking into trace mode I found out that form-based options menu
> have several HTML errors:
> 
> 2) </option> not valid at all within <select > </select>  --omit </option>

The HTML 3.0 DTD, for example, indicates that </option> is
optional, not must-be-absent.

<!ELEMENT OPTION - O (#PCDATA)>
<!ATTLIST OPTION
        %attrs;
        selected (selected) #IMPLIED
        value  CDATA  #IMPLIED -- default to element content --
        shape %SHAPE; #IMPLIED -- for graphical selection menus --
        disabled (disabled) #IMPLIED -- unselectable option --
        error CDATA #IMPLIED   -- why this choice is in error --
        >

The " - O " in the content model only gets strengthened to "closing
tag forbidden" in the case of empty elements, I believe.

Is this right?  Any SGML readers around?

Al

reply via email to

[Prev in Thread] Current Thread [Next in Thread]