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
This article describes how to install Apache on a...
mysql between boundary range The range of between...
If you don’t understand what I wrote, there may b...
1. Install the Linux system on the virtual machin...
Preface When making a top menu, you will be requi...
Preface When developing a project, I encountered ...
If you upgrade in a formal environment, please ba...
Written in front In today's Internet field, N...
When using the idea development tool to debug cod...
Recently, when I was working on a project, I was ...
The BGCOLOR attribute can be used to set the back...
Which historical version can the current transact...
Table of contents 1. isPrototypeOf() Example 1, O...
VirtualBox is a free and open source virtualizati...
This tutorial shares the installation of mysql in...