Site icon Tutorial

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

Apply for HTML Certification

https://www.vskills.in/certification/certified-html-designer

Back to Tutorials

Exit mobile version