Re: XHTML and Java

by "Donna Smillie" <dms(at)zetnet.co.uk>

 Date:  Tue, 20 May 2003 22:59:10 +0100
 To:  "HWG Techniques" <hwg-techniques(at)hwg.org>
 Cc:  "jalal" <the_jalal(at)fastmail.fm>
 References:  fl fastmail
  todo: View Thread, Original
What URL did you get the definition below from, jalal?  I just
double-checked my offline copy of the XHTML 1.0 Strict DTD, then checked the
online version at http://www.w3.org/TR/xhtml1/dtds.html and neither included
the APPLET element.  Both have the OBJECT element, without a CODE attribute.
The XHTML 1.0 Transitional DTD, on the other hand, does have the APPLET
element, with the CODE attribute, as shown below.  Maybe the info below came
from that?  The page I've given the URL for, above, has all three XHTML 1.0
DTDs (Strict, Transitional and Frameset) in the same document - the links to
each DTD are "same page" links, so if you follow the link to the Strict DTD
then do a "find" for APPLET it might appear to be in the Strict DTD - in
fact the search is going past the end of the Strict DTD and into the
Transitional DTD to get the stuff shown below.

Regards,
Donna

----- Original Message -----
From: "jalal" <the_jalal(at)fastmail.fm>

>  From the XHTML-1.0-Strict DTD:
>
> <!--=================== Java applet ==================================-->
> <!--
>    One of code or object attributes must be present.
>    Place param elements before other content.
> -->
> <!ELEMENT applet (#PCDATA | param | %block; | form | %inline; | %misc;)*>
> <!ATTLIST applet
>    %coreattrs;
>    codebase    %URI;          #IMPLIED
>    archive     CDATA          #IMPLIED
>    code        CDATA          #IMPLIED
>    object      CDATA          #IMPLIED
>    alt         %Text;         #IMPLIED
>    name        NMTOKEN        #IMPLIED
>    width       %Length;       #REQUIRED
>    height      %Length;       #REQUIRED
>    align       %ImgAlign;     #IMPLIED
>    hspace      %Pixels;       #IMPLIED
>    vspace      %Pixels;       #IMPLIED
>    >
>
> Possibly the validator doesn't recognize it, but it seems to be in the
> specification.
>
> jalal

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.