编辑你的代码:
<!DOCTYPE html> <html> <body> <pre> This is preformatted text. It preserves both spaces and line breaks. </pre> <p>The pre tag is good for displaying computer code:</p> <pre> for i = 1 to 10 print i next i </pre> </body> </html>
查看结果:
phpxuexi.net
- 亲自试一试