HTML CSS examples for HTML Tag:samp
samp element marks output from a program or computer system.
samp element summary
Item | Value |
---|---|
Element | samp |
Local local attributes | none |
Changed in HTML5 | N/A |
Style convention
samp {
font-family: monospace;
}
The following code shows how to use samp element.
<!DOCTYPE html> <html> <head> <title>Example</title> </head> <body> <p> Output: <!-- ww w . j a va 2 s .c o m--> <samp>CSS</samp> </p> </body> </html>