HTML Paragraph Paragraphs are defined by the <p> tag. Examples <p>This is a paragraph</p> The align attribute of <p> is deprecated in HTML4/5. Please use CSS instead. Paragraphs support event attributes and global attributes Text alignment within a paragraph <!DOCTYPE html> <body> <h1>CSS text-align example</h1> grammar Property Value
HTML line breaks If you want a line break (new line) without creating a new paragraph, use the <br /> tag: Examples <p>This is<br>a para<br>graph with line breaks</p> Tip: <br> tags are very useful when writing address information or poetry. Note: Use the <br> tag to enter a blank line instead of breaking a paragraph. Note: HTML output - Use caution as we cannot determine exactly how the HTML will be displayed. The size of the screen and the resizing of the window may lead to different results. With HTML, you cannot add extra spaces or line breaks in the HTML code to change the output. When displaying a page, the browser removes extra spaces and blank lines from the source code. All consecutive spaces or blank lines are counted as one space. It is important to note that all consecutive blank lines (newlines) in HTML code are also displayed as one space. <html> <body> Output I slept through the spring without knowing the dawn, and heard birds singing everywhere. There was a sound of wind and rain at night, and I wonder how many flowers have fallen. Note that browsers ignore typography in the source code (eliminating extra spaces and line breaks). The above HTML basic summary recommendation (paragraph) is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. Original URL: http://www.cnblogs.com/sxtywjx/archive/2016/07/13/5665124.html |
<<: The whole process of installing gogs with pagoda panel and docker
>>: Detailed introduction to the MySQL installation tutorial under Windows
Previously, my boss asked me to make a program th...
MySQL row to column operation The so-called row-t...
Recently, when I was using the Linux operating sy...
To split a string into an array, you need to use ...
Overview There are many form requirements in the ...
When installing packages on an Ubuntu server, you...
The code can be further streamlined, but due to t...
illustrate: Using mysqldump –all-databases will e...
Have you ever encountered a situation where we hav...
1 Download the MySQL 5.6 version compressed packa...
introduce HTML provides the contextual structure ...
Table of contents Preface 1. Binary Tree 1.1. Tra...
Table of contents MySQL query tree structure 1. A...
If you want to install some 64-bit applications (...
Copy code The code is as follows: <HTML> &l...