What does Sample tag stand for and is used for in HTML?

Can anyone explain whats it for? Thanks.

<p>You should see on your screen: </p>
<samp>Error: File Not Found</samp>

It’s just semantics, that it is a sample output from a computer program, or a screen.
Thus usually, it’s formatted as monospace.

2 Likes

@bego96 [SOLVED] I think