P&l trong tập đoàn là gì

The HTML element represents a paragraph. Paragraphs are usually represented in visual media as blocks of text separated from adjacent blocks by blank lines and/or first-line indentation, but HTML paragraphs can be any structural grouping of related content, such as images or size fields.

Bạn đang xem: P&l trong tập đoàn là gì

Paragraphs are block-level elements, and notably will automatically cthua if another block-cấp độ element is parsed before the closing

tag. See “Tag omission” below.

The source for this interactive example is stored in a GitHub repository. If you"d like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and sover us a pull request.


Content categories Permitted content Tag omission Permitted parents Implicit ARIA role Permitted ARIA roles DOM interface
Flow nội dung, palpable nội dung.
Phrasing content.
The start tag is required. The end tag may be omitted if the

element is immediately followed by an , , , ,
, , , , , ,

,

, , , , , , , , , , , , or another element, or if there is no more nội dung in the parent element và the parent element is not an element.

Xem thêm: Free Steam Key Steam Miễn Phí, Free Steam Keys, Games, Codes & Cd Keys (2020)

Any element that accepts flow content.
No corresponding role
Any
HTMLParagraphElement

p>This is the first paragraph of text. This is the first paragraph of text. This is the first paragraph of text. This is the first paragraph of text.p>p>This is the second paragraph. This is the second paragraph. This is the second paragraph. This is the second paragraph.p>

By default, browsers separate paragraphs with a single blank line. Alternate separation methods, such as first-line indentation, can be achieved with CSS:


p>Separating paragraphs with blank lines is easiestfor readers khổng lồ scan, but they can also be separatedby indenting their first lines. This is often usedto lớn take up less space, such as to save sầu paper in print.p>p>Writing that is intended to be edited, such as schoolpapers & rough drafts, uses both blank lines andindentation for separation. In finished works, combiningboth is considered redundant and amateurish.p>p>In very old writing, paragraphs were separated with aspecial character: ¶, the i>pilcrowi>. Nowadays, thisis considered claustrophobic & hard to read.p>p>How hard lớn read? See for yourself: button data-toggle-text="Oh no! Switch back!">Use pilcrow for paragraphsbutton>p>
p margin: 0; text-indent: 3ch;p.pilcrow text-indent: 0; display: inline;p.pilcrow + p.pilcrow::before content: " ¶ ";
document.querySelector("button").addEventListener("click", function (event) document.querySelectorAll("p").forEach(function (paragraph) paragraph.classList.toggle("pilcrow"); ); var newButtonText = sự kiện.target.dataset.toggleText; var oldText = sự kiện.target.innerText; event.target.innerText = newButtonText; event.target.datamix.toggleText = oldText;);

Breaking up content into lớn paragraphs helps make a page more accessible. Screen-readers and other assistive sầu technology provide shortcuts to let their users skip lớn the next or previous paragraph, letting them skyên ổn content lượt thích how White space lets visual users skip around.

Using empty elements khổng lồ add space between paragraphs is problematic for people who navigate with screen-reading technology. Screen readers may announce the paragraph"s presence, but not any content contained within it — because there is none. This can confuse and frustrate the person using the screen reader.

If extra space is desired, use CSS properties lượt thích margin to lớn create the effect:

p margin-bottom: 2em; // increase white space after a paragraph

Specification Status Comment
HTML Living StandardThe definition of "" in that specification. Living Standard No change since the lakiểm tra W3C snapshot HTML5
HTML5The definition of "" in that specification.

Xem thêm: Vietbank Là Ngân Hàng Gì - Ngân Hàng Việt Nam Thương Tín Vietbank

Recommendation align attribute is obsolete
HTML 4.01 SpecificationThe definition of "" in that specification. Recommendation Initial definition


Chuyên mục: Công Nghệ