preformatted te...LOGIN

preformatted text

This example demonstrates:

How to use the pre tag to control empty lines and spaces.

Example analysis:

The pre element can define pre-formatted text. Text enclosed in a pre element usually preserves whitespace and newlines. The text will also be rendered as a fixed-width font.

<pre> A common application of tags is to represent computer source code.


Next Section
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(m.sbmmt.com)</title> </head> <body> <pre> 此例演示如何使用 pre 标签 对空行和 空格 进行控制 </pre> </body> </html>
submitReset Code
ChapterCourseware