abbr.prefix prefix (computer characters); (Latin prefix=before) (Latin prefix) before...;precursor precursor cells; partial reinforcement effect local reinforcement effect
html pre tag syntax
Function:Define preformatted text.
Note: Text enclosed in pre elements usually retains spaces and newlines. The text will also be rendered as a fixed-width font. A common application of the <pre> tag is to represent computer source code. Tags that can cause paragraph breaks (such as headings, <p> and <address> tags) must not be included in a block defined by <pre>. Although some browsers will interpret the paragraph end tag as a simple line break, this behavior is not the same in all browsers. Allowed text in pre elements can include physical styles and content-based style variations, as well as links, images, and horizontal dividers.
Note: If you want to use the <pre> tag to define computer source code, such as HTML source code, please use symbol entities to represent special characters, such as "<" represents " <", ">" represents ">", "&" represents "&".
html pre tag example
<html> <meta charset="utf-8"> <body> <pre> 離離原上草,一歲一枯榮。 野火燒不盡,春風(fēng)吹又生。 </pre> <p>可以看到上面我們沒有做任何的CSS渲染,文字依然按照我們排列好的形式格式化輸出</p> </body> </html>
Run instance ?
Click the "Run instance" button to view the online instance