phones (was Re: deprecated tags in Wilbur & Cougar)

Walter Ian Kaye (boo@best.com)
Wed, 11 Aug 1976 06:00:06 -0700


Message-Id: <v030078078894eba5a357@[205.149.180.135]>
In-Reply-To: <199608071821.LAA03888@orion>
Date: Wed, 11 Aug 1976 06:00:06 -0700
To: www-style@w3.org, www-html@w3.org
From: Walter Ian Kaye <boo@best.com>
Subject: phones (was Re: deprecated tags in Wilbur & Cougar)

At 11:21a -0700 08/07/96, Mike Wexler wrote:
>With a DTD we could do something like the following:
>	<PHONENUMBER>
>	 <COUNTRYCODE> 1 </COUNTRYCODE>
>	 <AREACODE> 800 </AREACODE>
>	 <LOCALNUMBER1> 745 </LOCALNUMBER1>
>         <LOCALNUMBER2> 5345 <LOCALNUMBER2>
>        </PHONENUMBER>
>
>With HTML and classes you could do
>	<SPAN CLASS="PHONENUMBER">
>         <SPAN CLASS="COUNTRYCODE"> 1 </SPAN>
>	 <SPAN CLASS="AREACODE"> 800 </SPAN>
>	 <SPAN CLASS="LOCALNUMBER1"> 745 </SPAN>
>         <SPAN CLASS="LOCALNUMBER2"> 5345 </SPAN>
>	</SPAN>
>
>If you want to express in a formal document that a phonenumber must have
>a LOCALNUMBER1 and a LOCALNUMBER2 (in that order), then you will need
>something like a DTD.


Actually, EXCHANGE (745) and NUMBER (5345), but I digress. :-)

__________________________________________________________________________
    Walter Ian Kaye <boo@best.com>     Programmer - Excel, AppleScript,
          Mountain View, CA                         ProTERM, FoxPro, HTML
 http://www.natural-innovations.com/     Musician - Guitarist, Songwriter