Complete Technology Solutions, Web Design, Management, Maintenance   

 Complete Technology Solutions
  - SAMP - Sample Output

      FAQ - Contact Us

Syntax <SAMP>...</SAMP>
Attribute Specifications
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.


<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>

Back to the Top

-- More Information --

Click Here for Homepage