View Single Post
Old 08-22-2019, 12:35 PM   #5
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,361
Karma: 20212223
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
It isn't that there are 'better ways'...just different.

The use of <blockquote> is more semantically correct when creating a block quote, whereas a <div> is a simple division, and classed paragraphs are just formatting the paragraph. Yes, you can make them look the same, but using a blockquote when you have a long quote (usually of multiple paragraphs) sets up your document properly.


P.S. You can style blockquotes to look any way you want with CSS and the target renderer will treat it just as well/badly as it would treat any other CSS.

example:
Spoiler:
Code:
blockquote {
              margin:2em; 
              border:2px solid black;
              padding:5px 10px}

blockquote p {
              text-indent:0; 
              margin-bottom:.5em; 
              font-size:.8em}

blockquote p.citation {
              text-align:right;
              margin:2em 0 0}


<blockquote>
<p>I've seen things you people wouldn't believe. 
Attack ships on fire off the shoulder of Orion. I watched 
C-beams glitter in the dark near the Tannhauser gate. 
All those moments will be lost in time… 
like tears in rain… Time to die.</p>
<p class="citation">Replicant Roy Batty,<br/>
<em>Blade Runner (1982)</em></p>
</blockquote>


<blockquote>
<p>I am Connor MacLeod of the Clan MacLeod. 
I was born in 1518 in the village of Glenfinnan on the shores of Loch Shiel.
And I am immortal.</p>
<p class="citation">Connor MacLeod,<br/>
<em>Highlander (1986)</em></p>
</blockquote>

<blockquote>
<p>You take the blue pill — the story ends, you wake up in your bed 
and believe whatever you want to believe.</p>
<p>You take the red pill — you stay in Wonderland and I show you how 
deep the rabbit-hole goes.</p>
<p class="citation">Morpheus,<br/><em>The Matrix (1999)</em></p>
</blockquote>
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	268
Size:	57.5 KB
ID:	173082  

Last edited by Turtle91; 08-22-2019 at 01:28 PM.
Turtle91 is offline   Reply With Quote