-
-
Save bergantine/4742424 to your computer and use it in GitHub Desktop.
Blockquote semantics enhanced by figure. #html #html5 #figure #happycog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Single line, no attribution: | |
<figure class="quote"> | |
<blockquote>It is the unofficial force—the Baker Street irregulars.</blockquote> | |
</figure> | |
Single line, with attribution and optional cite: | |
<figure class="quote"> | |
<blockquote>It is the unofficial force—the Baker Street irregulars.</blockquote> | |
<figcaption>Sherlock Holmes, <cite>Sign of Four</cite></figcaption> | |
</figure> | |
Multiline: | |
<figure class="quote"> | |
<blockquote> | |
<p>It is the unofficial force—the Baker Street irregulars.</p> | |
<p>What a bunch of maroons.</p> | |
</blockquote> | |
<figcaption>Sherlock Holmes, <cite>Sign of Four</cite></figcaption> | |
</figure> | |
Pullquote (I don't know that ALA has ever used a pullquote, but the pattern is simple enough, so here it is): | |
<aside class="quote"> | |
<blockquote>It is the unofficial force—the Baker Street irregulars.</blockquote> | |
</aside> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment