paragraph content

"; 2. Use the br line break character to leave a blank line. , just enter "
" after the text that needs to be wrapped."/> paragraph content

"; 2. Use the br line break character to leave a blank line. , just enter "
" after the text that needs to be wrapped.">

Home >Web Front-end >Front-end Q&A >How to make a paragraph empty in css/html

How to make a paragraph empty in css/html

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-04-28 17:51:115119browse
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.

How to make a paragraph empty in css/html

The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.

1. Use the p paragraph tag as a blank line

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:

How to make a paragraph empty in css/html

##2. Use the br line break tag to empty the line

Everyone The sub's
is an independent tag. Using two br line break tags can achieve the effect of line break and empty line.

Example:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>document</title>
  </head>
  <style></style>
  <body>
    这是一个段落<br><br>
    这是另一个段落
  </body>
</html>

Effect:


How to make a paragraph empty in css/html

Recommended learning:

css video tutorial

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn