samp Tag for Output

Certify and Increase Opportunity.
Be
Govt. Certified HTML5 Developer

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

Get industry recognized certification – Contact us

Menu