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
Table of contents 1. parse 1.1 Rules for intercep...
In order to centrally manage the images we create...
1. Run the .sh file You can run it directly using...
question: When developing the Alice management sy...
Table of contents Multiple conditional statements...
Preface The MySQL slow query log is a type of log...
Download the installation package from the offici...
Preface This article will explain how Vue compone...
1. Application Scenarios Parent page a.jsp Subpage...
introduction Have you ever encountered a situatio...
Today I learned to install MySQL, and some proble...
I suddenly thought of this method when I was writi...
1. Basics of Linux Firewall The Linux firewall sy...
Benefits of Prepare The reason why Prepare SQL is...
Result: html <nav id="nav-1"> <...