Most browsers will display the
<samp>
element with the following default values:
Example:
HTML
<!DOCTYPE html>
<html>
<head>
<style>
samp { font-family: monospace;
}
</style>
</head>
<body>
<p>A samp element is displayed like this:</p>
<samp>Sample output from a computer program</samp>
<p>Change the default CSS settings to see the effect.</p>
</body>
</html>
Type
: |
html |
Category
: |
Web Tutorial |
Sub Category
: |
HTML Tag |
Uploaded by
: |
Admin |