samp Element

Description

samp element denotes output from a program or computer system. It has the following default style: { font-family: monospace; }.

Example

The following code shows how to use samp Element.


<!DOCTYPE HTML>
<html>
<body>
  This is a <samp>sample</samp>.
</body><!--  ww w  .j a  v  a 2 s.  c o  m-->
</html>

Click to view the demo





















Home »
  HTML CSS »
    HTML »




HTML Introduction
HTML Document
HTML Section
HTML Group Content
HTML Text Marker
HTML Table
HTML Form
HTML Embed