Render Flow - Paragraphs
[Read <p>] -> [Create P node] -> [Add text content] -> [Close P] -> [Render block box]
The browser reads the paragraph tag, creates a block box for it, adds the text inside, and then displays it with default spacing.
[Read <p>] -> [Create P node] -> [Add text content] -> [Close P] -> [Render block box]
<p>This is the first paragraph.</p>[Paragraph 1] | This is the first paragraph. | |____________________________|
<p>This is the first paragraph.</p> <p>This is the second paragraph.</p>
| Element | Default Display | Semantic Meaning | Visual Behavior |
|---|---|---|---|
| <p> | block | Paragraph of text | Starts on new line, full width, vertical margin separates paragraphs |