samp Tag for Output

samp Tag for Output

It is used for indicating sample output from a computer program, script etc. The samp tag surrounds the sample word/phrase. Text placed between its opening and closing tags is shown in monospaced font as shown

HTML code

<p>      You will be asked <samp>Delete or not?</samp> to continue.</p>

Browser output

The samp Tag for Output

var Tag for Variables
ins and del tags for Editing text

Get industry recognized certification – Contact us

keyboard_arrow_up
Open chat
Need help?
Hello 👋
Can we help you?