W3C home > Mailing lists > Public > www-html@w3.org > March 1998

Re: <NEWHTML>???

From: Dataweaver <traveler@io.com>
Date: Fri, 6 Mar 1998 11:34:27 -0600 (CST)
To: Alex Fabrikant <afabrikant@smtpgtwy.ausd.k12.ca.us>
cc: www-html@w3.org
Message-ID: <Pine.BSI.3.96.980306110509.24775A-100000@pentagon.io.com>
On Thu, 5 Mar 1998, Alex Fabrikant wrote:

> With HTML advancing as fast as it is, a fundamental question comes to
> mind, for which no satisfactory answer as of yet exists. How will it possible
> to create an HTML document in HTML x.y (where x>4) so that any browser
> supporting a version of HTML that exists today will be given an alternative
> to any codes that are new in HTML x.y?

True point.  But let me make a counter-proposal:

<!ELEMENT ALT - - (%inline;)* -- backward-compatability text -->
  %attrs:                     -- %coreattrs, %il8n, %events --
  noelement   CDATA           -- potentially unknown element --

Start tag: required, End tag: required

Attribute definitions

noelement = cdata[CI]
  The name of the element that the alt element is supposed to substitute
  for; if the element named is recognized by the parser, the contents of
  the ALT element are ignored.  If the noelement attribute is not included
  in an ALT element, use the name of the most recently encountered element
  prior to the ALT element.  

Attributes defined elsewhere

  * id, class (document-wide identifiers)
  * lang (language information), dir (text direction)
  * title (element title)
  * style (inline style information)
  * onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove,
    onmouseout, onkeypress, onkeydown, onkeyup (intrinsic events)

This element designates backward-compatability text; it is designed to
replace and expand on the capabilities of the NOFRAMES and NOSCRIPT
elements, which would be depreciated in favor of this element.  

This example illustrates a basic use of the ALT element:

E = m c <SUP><ALT>^</ALT>2</SUP>

The following NOFRAMES declaration: 

     <P>Here is the <A href="main-noframes.html">
              non-frame based version of the document.</A> 

could be rewritten with ALT as follows:

     <ALT noelement="frame">
     <P>Here is the <A href="main-noframes.html">
              non-frame based version of the document.</A>

The following NOSCRIPT declaration:

<SCRIPT type="text/tcl">
 ...some Tcl script to insert data...
 <P>Access the <A href="http://someplace.com/data">data.</A>

could be rewritten as follows:

<SCRIPT type="text/tcl">
 ...some Tcl script to insert data...
<ALT noelement="script">
 <P>Access the <A href="http://someplace.com/data">data.</A>


Comments and criticism?

---- Jonathan Lang <traveler@io.com>
Received on Friday, 6 March 1998 12:34:35 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:33 UTC