Thread: Blockquote Tab
View Single Post
Old 05-19-2017, 11:26 AM   #11
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Turtle91 View Post
The difference is symantics... If someone is scanning your document at a code level they will know that one block is supposed to be a blockquote, while the other is a container. From a user's perspective they can look identical.
Also it is helpful for default fallbacks.

Let us say your reader is using an ebook program like Moon+ Reader, which tosses out almost all of the "Publisher CSS" and replaces it with user chosen preferences. If you coded your stuff as <div class="blockquote">, it would not display as intended.

Similar reasons why you would use:

<i> + <em> + <b> + <strong>

over

<span class="italics"> + <span class="emphasis"> + <span class="bold"> + <span class="strong">

Also, it is helpful for (present and future) conversion tools. For example, let's say you wanted Calibre to convert your EPUB to TXT. It would have no idea how to handle your <div class="blockquote">, but if you used <blockquote>, you could imagine it introducing spacing in the TXT file to offset the quote from the surrounding text.

EPUB:

Code:
<p>Example Text 1.</p>

<p>Example Text 2.</p>

<blockquote><p>Example blockquote.</p></blockquote>

<p>Example Text 3.</p>
TXT:

Code:
Example Text 1.
Example Text 2.

     Example blockquote.

Example Text 3.
Tex2002ans is offline   Reply With Quote