" is a paragraph tag with an end tag, that is, "
" and "
" are used together; "", "
" has a larger line spacing.">
and
in HTML-HTML Tutorial-php.cn
and
in HTML
Difference: "
" is a paragraph tag with an end tag, that is, "
" and "
" are used together; "
" is mandatory The newline tag is an empty tag. It has no end tag, so the writing of "
" is wrong. Compared with "
" and", "
" has a larger line spacing.
The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.
p tag
tag is a paragraph tag, used to define paragraphs.
The element will automatically create some white space before and after it. The browser will automatically add these spaces, and you can also specify it in the style sheet.
Usually in the article, there is a clear distinction between the paragraphs in the upper paragraph and the text in the previous paragraph. If there is a certain gap between the text in the next paragraph, we can use the p tag for both the upper and lower paragraphs. We use the p paragraph tag, usebefore the beginning of a paragraph of text, and add a
tag at the end of the paragraph of text. Paragraph p The label will put a certain distance between the upper and lower paragraphs of text, about twice the line-height distance.br Label
html video tutorial"]
##and
When the css style is not set for p, the effect of using one
paragraph tag is equivalent to using two
line break tags
清平调 标记的使用
云想衣裳花想容,
春风拂槛露华浓,
若非群玉山头见,
会向瑶台月下逢,
Rendering:
For more programming-related knowledge, please visit:
The above is the detailed content of What is the difference between
and
in HTML. For more information, please follow other related articles on the PHP Chinese website!