Horje

Example of HTML <samp> For Program Output

Define some text as sample output from a computer program in a document:
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h2>The samp Element</h2>

<p>The samp element is used to define sample output from a computer program.</p>

<p>Message from my computer:</p>
<p><samp>File not found.<br>Press F1 to continue</samp></p>

</body>
</html>

Output should be:

Example of HTML <samp> For Program Output



Single Articles
Example of HTML <samp> For Program OutputHTML Computer Code


Related Articles
What is HTML Computer Code HTML Computer Code
How to create HTML <kbd> For Keyboard Input HTML Computer Code
How to create HTML <samp> For Program Output HTML Computer Code
How to create HTML <code> For Computer Code HTML Computer Code
How to create HTML <code> For Computer Code Part - 2 HTML Computer Code
How to create HTML <var> For Variables HTML Computer Code

Type:
Html
Category:
Web Tutorial
Sub Category:
HTML Computer Code
Uploaded by:
Admin



Share on: