- From: Evguenii SMOGAILOV <evguenii@ess.co.at>
- Date: Thu, 12 Aug 1999 09:15:09 +0200 (MET DST)
- To: ">H1$82" <hcliff@hanmail.net>
- cc: www-lib@w3.org
On Wed, 11 Aug 1999, ¾È±¤¸² wrote: > I have run showtags with following input html stream. > ------------------------------------ > <body onload="loading()" topmargin="0" leftmargin="0" MARGINWIDTH="0" MARGINHEIGHt="0" bgcolor="#ffffff"> > ------------------------------------ > I got following result. > ------------------------------------ > Begin element: <BODY> with attributes: BGCOLOR="#ffffff" > ------------------------------------ > > As a result, showtags missed five other attributes. huh? These attributes are not included in the DTD structure (don't know why, maybe because some of them are not standard, i.e. Microsoft only). Look at a file : http://www.w3.org/Library/src/HTMLPDTD.html, there are the following attributes for the BODY tag: enum _HTML_BODY_Attributes { HTML_ATTR(BODY,ALINK) = 0, HTML_ATTR(BODY,BACKGROUND), HTML_ATTR(BODY,BGCOLOR), HTML_ATTR(BODY,CLASS), HTML_ATTR(BODY,DIR), HTML_ATTR(BODY,ID), HTML_ATTR(BODY,LANG), HTML_ATTR(BODY,LINK), HTML_ATTR(BODY,STYLE), HTML_ATTR(BODY,TEXT), HTML_ATTR(BODY,TITLE), HTML_ATTR(BODY,VLINK), HTML_ATTRIBUTES(BODY) }; Evguenii
Received on Thursday, 12 August 1999 03:21:28 UTC