Use the
Note:
You can try running the following code to learn how to create preformatted text in HTML −
<!DOCTYPE html> <html> <head> <title>HTML xmp Tag</title> </head> <body> HTML tags include <xmp><b> for bold text</b>, <i> for italic text.</i></xmp> </body> </html>
The above is the detailed content of How do we create preformatted text in HTML?. For more information, please follow other related articles on the PHP Chinese website!