HTML <samp> Sample Output Tag Reference
The samp HTML tag means Sample Output, and it defines text as sample output from scripts or programs.
It's really only used to disply text in monospace font, so it shouldn't be used. Use CSS instead.
The <samp> HTML/xHTML tag
The <samp> tag defines sample output from a script or program.
When to use the <samp> tag (semantic use)
It's not deprecated, but it really only defines the style of text, so it should be avoided.Example of <samp> tag use
No examples are given as this tag is not recommended.Alternatives to the <samp> tag
You may also consider using:
- <pre>
- To display preformatted text.
- Recommended
- NEW ebook "Save the Pixel - the Art of Simple Web Design"

- Read offline as PDF ebooks
- Adwords consultant
- vBulletin Skins
- Compare web hosts - speed, uptime, support etc...
- Professional Web Hosting $4.95
- Quality Ruby on Rails hosting - UK, recommended
- Custom logo design services
- Promote your Sheffield business FREE
- Buy Modern European Furniture
- Support this site



