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.


Continuing Learning
||
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>php(www.php.cn)</title>
</head>
<body>
<pre>
使 pre
</pre>
</body>
</html>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
submitReset Code
图片放大关闭