Blockquote surrounded by paragraph |
Blockquote surrounded by paragraph |
nightoul |
Mar 19 2020, 04:02 AM
Post
#1
|
Group: Members Posts: 3 Joined: 19-March 20 Member No.: 27,239 |
How would you resolve the following? I want to put up an essay where there is a blockquote surrounded by a normal paragraph. This is how it looks in Word:
https://imgur.com/lBWGa0s However, the very thing that I need in this situation, that is, to nest a blockquote inside a paragraph, is not allowed. I understand that it's not logical to nest a paragraph inside a paragraph, but why not a blockquote? How would you resolve this? Would you nest a blockquote inside a section instead of a paragraph? Thank you! |
Christian J |
Mar 19 2020, 07:13 AM
Post
#2
|
. Group: WDG Moderators Posts: 9,650 Joined: 10-August 06 Member No.: 7 |
I understand that it's not logical to nest a paragraph inside a paragraph, but why not a blockquote? My guess is that it's because the BLOCKQUOTE element itself may contain P elements. QUOTE How would you resolve this? Would you nest a blockquote inside a section instead of a paragraph? The last example at https://www.w3.org/TR/2014/REC-html5-201410...ckquote-element suggests ending the P element when the BLOCKQUOTE begins, and the begin a new P after: CODE <p>He began his list of "lessons" with the following:</p> <blockquote>One should never assume that his side of the issue will be recognized, let alone that it will be conceded to have merits.</blockquote> <p>He continued with a number of similar points, ending with:</p> <blockquote>Finally, one should be prepared for the threat of breakdown in negotiations at any given moment and not be cowed by the possibility.</blockquote> <p>We shall now discuss these points... |
pandy |
Mar 19 2020, 07:36 AM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Also, from the context and purely linguistical, I don't think all that text should be one para anyway. Isn't it pretty natural and logical that the explanation after the quote is a new paragraph?
|
nightoul |
Mar 19 2020, 08:00 AM
Post
#4
|
Group: Members Posts: 3 Joined: 19-March 20 Member No.: 27,239 |
Also, from the context and purely linguistical, I dont' think all that text should be one para. Isn't it pretty natural and logical that the explanation after the quote is a new paragraph? They taught us at the faculty not to make the "explaining paragraph" a new paragraph But yes, why not just make it a new para. Is there a way afterwards to add an expection to only this one paragraph when I will indent all of the paragraphs with CSS? Sorry if it's easy, I'm just starting with HTML. |
Christian J |
Mar 19 2020, 12:05 PM
Post
#5
|
. Group: WDG Moderators Posts: 9,650 Joined: 10-August 06 Member No.: 7 |
Did the teacher explicitly require BLOCKQUOTE for the quotation? Another idea might be to use the inline Q element in one large paragraph, then style the Q with CSS to look like a block quote. Not sure if the length of your quoted text warrants a Q or a BLOCKQUOTE though.
https://html.spec.whatwg.org/multipage/text...l#the-q-element |
Lo-Fi Version | Time is now: 17th April 2024 - 11:11 PM |