Get the App
SLTechnology News&Howtos  ›  Development  › 

Which tag is used to represent paragraph text in HTML5

Shulou Source: shulou.com Published: 2022-06-02 02:43:42 10月05日 Update

This article mainly introduces the HTML5 paragraph text is expressed by which tag, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor with you to understand.

In HTML5, paragraph text is represented by a p tag, which is used to define paragraph text, which is a block-level element, with blank lines added before and after the paragraph text defined by the tag, and the syntax is "

Paragraph text

".

The operating environment of this tutorial: windows10 system, HTML5 version, Dell G3 computer.

What is the representation of paragraph text in HTML5

Paragraph text in HTML5 is represented by the p tag

The tag defines the paragraph.

The element automatically creates some white space before and after it. The browser automatically adds these spaces, or you can specify them in the stylesheet.

This tag is in HTML 4.01, the align attribute is not recommended, and it is no longer supported in HTML 5.

The syntax is as follows:

Paragraph text

Examples are as follows:

one hundred and twenty three

This is a paragraph.

This is a paragraph.

This is a paragraph.

Output result:

Thank you for reading this article carefully. I hope the article "which tag is used to express the paragraph text in HTML5" shared by the editor will be helpful to you. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Tags: Paragraphs text tags articles this is elements attributes grammar support value function interest and at the same time tutorials more friends styles browsers environment Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info macOS Shulou Information MariaDB Linux