SAMP Element | SAMP Object

DHTML, HTML, & CSS

 
Click to return to the DHTML, HTML & CSS home page    
S Element | S Object     screen Object     DHTML Objects    

SAMP Element | SAMP Object


Specifies a code sample.

HTML Syntax

<SAMP
    CLASS=classname
    ID=value
    LANG=language
    LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT  | VBS 
    STYLE=css1-properties
    TITLE=text
    event = script
>

Remarks

The SAMP element is an inline element and requires a closing tag.

This element is available in HTML as of Microsoft® Internet Explorer 3.0, and in script as of Internet Explorer 4.0.

Members

Styles

Example

This example uses the SAMP element to create a code sample.

<SAMP>Here is some text in a small fixed-width font.</SAMP>

See Also

CODE


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.