Last Updated on April 26, 2023 by Roshan Parihar
HTML pre tag is used to display preformatted text. The preformatted text can be any computer code to display on web pages.
Syntax
1 |
<pre>Enter pre content here |
1 2 3 4 |
NA, Villa, 203 CA Building, Elle, New York |
Output
1 2 3 4 |
NA, Villa, 203 CA Building, Elle, New York |
Resources and References of HTML pre tag
1. W3C Specification.
2. HTML living standard
3. W3C project using Github