How to leave a line blank in a paragraph: 1. Use the p tag to leave a blank line. You only need to wrap the paragraph text with a p tag. The syntax is "paragraph content
"; 2. Use brLine break is a blank line. Just enter "
" after the text that needs to be broken.
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
p syntax
<p>第一段</p>
p is a paragraph tag. Use
to end the article paragraph and use
. In this way, the two paragraphs p and p are blank lines.Example:
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>document</title> </head> <style> </style> <body> <p>这是一个段落</p> <p>这是另一个段落</p> </body> </html>
Effect:
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>document</title> </head> <style></style> <body> 这是一个段落<br><br> 这是另一个段落 </body> </html>
The above is the detailed content of How to make a paragraph empty in css/html. For more information, please follow other related articles on the PHP Chinese website!