Sample Element Tutorial

<samp>

Introductory Text

The samp element represents sample output from a program or computing system.

Start tag:
<samp>
End tag:
</samp>

Use Examples

Example [Basic]:

The printed card read In order to make an apple pie from scratch, you must first create the universe as written by the automaton of Maillardet when Mlle 希望 asked how to make flaky-crust pies.

Code [HTML]:

<p>The printed card read <samp><q cite="http://www.brainyquote.com/quotes/authors/c/ »
carl_sagan.html">In order to make an apple pie from scratch, you must first create the universe.</q> »
</samp> as written <a href="http://en.wikipedia.org/wiki/Henri_Maillardet" style="color: »
#11111a;">by the automaton of Maillardet</a> when <span lang="fr"><abbr>M<sup>lle</sup></abbr> »
</span> <span lang="zh-cn">希望</span> asked how to make flaky-crust pies.</p>


Content Model/Assigned Attributes

Element-Type:
Text-Level [HTML 4.01]
Phrasing Content [HTML 5]
Attributes:

</samp>