The <samp> tag in HTML is used to format text as a piece of source code or the output result of a code snippet.
It is used to display code snippets, commands, or output results in a monospaced font.
<samp><h1>Đây là tiêu đề</h1></samp>
<samp>console.log("Hello, world!");</samp>
Result