Welcome 🎉

logo

ReactLMS

Search
Light Mode
Contact Us

1 min to read

Contact us

No results for your search.
Sorry, an unexpected error occurred

Concept


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.


How to use


<samp>&lt;h1&gt;Đây là tiêu đề&lt;/h1&gt;</samp>
<samp>console.log("Hello, world!");</samp>






Result

<h1>Đây là tiêu đề</h1> console.log("Hello, world!");



Read more
On This Page