Re: Clarification on <samp> element

Murray Maloney ([email protected])
Mon, 21 Nov 1994 10:12:36 -0500 (EST)


The answer is:

black & white

The wording of the specification is not
intended to imply that SGML parsing
an attribute substitution is disabled
while the <SAMP> element is the current
context in an HTML document.

>
> I'm looking for clarification on the <samp> element. The HTML 2.0
> specification describes <samp> as follows:
>
> "The SAMP type indicates a sequence of literal characters."
>
> How is this tag commonly used? How should I expect the following
> markup to be displayed in a Web client?
>
> <samp>black &amp; white</samp>
>
> Alternative A:
>
> black & white
>
> Alternative B:
>
> black &amp; white
>
> Thanks,
> Lydja Williams
> Microsoft

You are welcome,

Murray

===========================================================================
---------------------------------------------------------------------------
Murray C. Maloney Internet: [email protected]
Technical Publications Writer/Architect Uucp: ...uunet!sco!murray
SCO Canada, Inc. My Phone: (416) 960-4031
130 Bloor Street West, 10th Floor Fax: (416) 922-2704
Toronto, Ontario, Canada M5S 1N5 SCO Phone: (416) 922-1937
===========================================================================
---------------------------------------------------------------------------
Sponsor member of Davenport Group (ftp://ftp.ora.com/pub/davenport/)
Member of IETF HTML Working Group (http://www.hal.com/%7Econnolly/html-spec/)
Member of SGML Open Internet and WWW Technical Committee
===========================================================================