I've been using <blockquote>
, <q>
, and <cite>
for formatting scripture quotes and references, but I'm wondering if there's a more proper way.
There are 3 typical kinds of Biblical references I've run into: block quotes, inline quotes, and references (aka "chapter & verse" references). Here's how I've been formatting each one:
Blockquotes
<blockquote class="scripture">
<p>Then God said, <q>Let there be light,</q> and there was light.</p>
<cite>Genesis 1:3</cite>
</blockquote>
Inline Quotes
<p>As it says in the Bible, <q class="scripture">God said, <q>Let there be light,</q></q> (<cite>Genesis 1:3</cite>) and it just happened.</p>
Scripture References
<p>The account of creation is listed in <cite class="scripture">Genesis 1</cite>.</p>
So my question is, are these the most appropriate HTML tags to be using in these scenarios? I'm pretty sure <blockquote>
and <q>
tags are fine, but I'm less sure about the usage of the <cite>
tag. Being an inline element, can it be used as a direct descendant of a <blockquote>
, or should it be encased in another tag of some sort?
FWIW, the reasons I have been using <p>
tags inside of <blockquote>
s is so I can get proper and automatic quote styling and nesting (regardless of the language of the scripture quote, too).