SAMP - Sample Output
SAMP - Sample Output
Syntax
<SAMP>...</SAMP>
Attribute Specifications
common attributes
Contents
Inline elements
Contained in
Inline elements, block-level elements
The SAMP element denotes sample output, such as from a program or script. Visual browsers typically render SAMP as monospaced text, but authors can suggest a rendering using style sheets. Since SAMP is a structural element, it carries meaning, making it preferable to font style elements such as TT when marking up sample output.
Example:
<P>When an undefined element is used in an HTML document, a validator will give an error like the following:</P>
<P><SAMP>C:\SP\BIN\NSGMLSU.EXE:test.html:4:7:E: element "FOOBAR" undefined</SAMP></P>
More Information
SAMP in W3C HTML 4.0 Recommendation
SAMP in W3C HTML 3.2 Recommendation
SAMP in HTML 2.0 Standard
SAMP in WDG HTML 3.2 Reference
SAMP in Learning HTML 3.2 by Examples
Maintained by Liam Quinn <liam@htmlhelp.com>
HTML 4.0 Reference ~ Elements by Function ~ Elements Alphabetically
Copyright © 1998 Liam Quinn. All rights reserved.
Wyszukiwarka
Podobne podstrony:
cpe hb samp p1fce hb samp p1fce hb samp p3sampsamp licensesamp (3)sampcae hb samp p4samp licensecpe hb samp p3cae hb samp p5?qfce hb samp p4fce hb samp p5więcej podobnych podstron