HTML Diff
0 added 0 removed
Original 2026-01-01
Modified 2026-03-09
1 <p>The poem in the quote still does not look like a poem, since there are not enough line breaks within the stanza. We already know a lot of tags. Maybe some of them will prove suitable for breaking the text into lines?</p>
1 <p>The poem in the quote still does not look like a poem, since there are not enough line breaks within the stanza. We already know a lot of tags. Maybe some of them will prove suitable for breaking the text into lines?</p>
2 <p>The first candidate is the &lt;p&gt; tag. It is ideally suited for calling out stanzas, but we need to add line breaks<em>inside</em>stanzas. Let’s mark up this version. The second candidate is the &lt;pre&gt; tag. It saves all text formatting. It seems to fit, but we <em>only</em>need to save the line breaks. And, despite what some programmers might say, code and poetry are different things. In general, nothing fits.</p>
2 <p>The first candidate is the &lt;p&gt; tag. It is ideally suited for calling out stanzas, but we need to add line breaks<em>inside</em>stanzas. Let’s mark up this version. The second candidate is the &lt;pre&gt; tag. It saves all text formatting. It seems to fit, but we <em>only</em>need to save the line breaks. And, despite what some programmers might say, code and poetry are different things. In general, nothing fits.</p>
3 <p>We need a special tag that just adds a line break inside a paragraph. HTML has designated the single &lt;br&gt; tag (which is short for “break”) to perform this function.</p>
3 <p>We need a special tag that just adds a line break inside a paragraph. HTML has designated the single &lt;br&gt; tag (which is short for “break”) to perform this function.</p>
4 <p>This tag is great if you need to create line breaks within the text to increase its readability, such as, for example, in mailing addresses, poems, song lyrics, and work schedules.</p>
4 <p>This tag is great if you need to create line breaks within the text to increase its readability, such as, for example, in mailing addresses, poems, song lyrics, and work schedules.</p>
5 <p>Sometimes this tag is used incorrectly in order to break up text into quasi-paragraphs. Never use the tag to do this. To mark up paragraphs, you need to use the &lt;p&gt; tag.</p>
5 <p>Sometimes this tag is used incorrectly in order to break up text into quasi-paragraphs. Never use the tag to do this. To mark up paragraphs, you need to use the &lt;p&gt; tag.</p>