Understanding the HTML

paragraph tag

一个新手
Release: 2017-10-24 11:57:37
Original
2204 people have browsed it


HTML P paragraph forced line break tag element

1. p tag syntax and structure - TOP

<p>内容</p>
Copy after login

Paragraphp tagInstructions for use:
Often when we need to break lines into paragraphs, we can add

before the content and

after the content to change the paragraphs of the article. .

2. P paragraph tag use case - TOP

<p>我是php中文网</p>
<p>我是第一段落,网址m.sbmmt.com ;</p>
<p>我是第二段落;</p>
<p>我是第三段落,<br />我被br换行。</p>
Copy after login

3.

Tag element description - TOP

1. The paragraph tag p and the line break br tag use the previous difference.

is a pair of tags "

", while br is a separate tag.
2. Paragraph tag, There is a certain distance between each paragraph, similar to a p paragraph tag, which is equivalent to using two br tags to break the line
3. Frequently use paragraph tags to make the article organized and paragraphs clearly separated, and at the same time it is also good for search engine optimization (SEO) , let search engines feel that your web page content paragraphs are clear and more friendly and clear.

The above is the detailed content of Understanding the HTML

paragraph tag. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!