Re: CSS Browsers

Although HTML 4.0 allows attributes to be unquoted, to be compliant with
HTML as an application of XML, which is the upcoming standard, all values of
attributes must be quoted. Also note that an empty element should have a
trailing forward slash thus:

<IMG Src="foo.jpg" ... />

To work in ensure no problems with legacy  browsers make sure thare is a
space before the '/'.

>>I wanted to know if one here has try the future NetScape 5?
Is there any improvements in CSS handling?<<

From what I can see gecko (aka netscape 5) has almost 100% CSS1 compliance.

Frank

Frank Boumphrey

XML and style sheet info at Http://www.hypermedic.com/style/index.htm
Author: - Professional Style Sheets for HTML and XML http://www.wrox.com
CoAuthor: Professional XML applications from Wrox Press, www.wrox.com

----- Original Message -----
From: Masayasu Ishikawa <mimasa@w3.org>
To: <XavePlant@iName.Com>
Cc: <www-html@w3.org>
Sent: Friday, December 18, 1998 3:13 AM
Subject: Re: CSS Browsers


>I will answer only the last question.
>
>Xavier Plantefeve <XavePlant@iName.Com> wrote:
>
>>   A last thing: I had a quick look but was unable to find it: in HTML 4,
>> is <IMG Src=foo.jpg ...> correct? Or is <IMG Src="foo.jpg" ...> the only
>> correct manner?
>
><img src=foo.jpg ...> is correct.  "3.2.2 Attributes" [1] of HTML 4.0
>Specification says:
>
>   In certain cases, authors may specify the value of an attribute
>   without any quotation marks. The attribute value may only contain
>   letters (a-z and A-Z), digits (0-9), hyphens (ASCII decimal 45), and
>   periods (ASCII decimal 46). We recommend using quotation marks even
>   when it is possible to eliminate them.
>
>foo.jpg contains only letters and a period, so it can be written without
>quotation marks (though I don't recommend to do so, as mentioned above).
>
>By the way, its SGML declaration [2] says:
>
>            NAMING   LCNMSTRT ""
>                     UCNMSTRT ""
>                     LCNMCHAR ".-_:"
>                     UCNMCHAR ".-_:"
>
>Which means, low lines (ASCII decimal 95) and colons (ASCII decimal 58)
>are also allowed without quotation marks.  I think this point should be
>mentioned in the errata [3].
>
>[1] http://www.w3.org/TR/REC-html40/intro/sgmltut.html#h-3.2.2
>[2] http://www.w3.org/TR/REC-html40/sgml/sgmldecl.html#h-20.1
>[3] http://www.w3.org/MarkUp/html40-updates/REC-html40-19980424-errata.html
>
>Regards,
>--
>Masayasu Ishikawa / mimasa@w3.org
>W3C - World Wide Web Consortium
>
>

Received on Friday, 18 December 1998 12:19:26 UTC