HTML pre Tag
The <pre>
in HTML specifies preformatted text. It renders text as typed in HTML code,
including spaces, line breaks, and other formatting. It is primarily utilized for code snippets.
Syntax:
<pre>
content
</pre>
Example:
<pre>
#include <stdio.h>
int main() {
printf("Hello, World!");
return 0;
}
</pre>
Output
