Is there an XHTML equivalent for <quote>?
Whether you're a seasoned veteran or a struggling beginner, Web Radiance is the web development and web design forum for you. You'll find answers to all your HTML, CSS, SEO, and Programming needs. Pull up a chair and stay awhile.
Page 1 of 1
Is there an XHTML equivalent for <quote>?
#1
Posted 15 February 2008 - 11:39 AM
I expect that there is none and I'll just have to create a <div> class or something.
Am I right?
Am I right?
#2
Posted 15 February 2008 - 12:00 PM
I hope you're sitting down...
<q>the quote</q>
<q>the quote</q>
#6
Posted 15 February 2008 - 12:38 PM
#7
Posted 15 February 2008 - 05:29 PM
With block-level you mean q { display : block ; } or are you referring to a tag?
#8
Posted 15 February 2008 - 05:38 PM
If the quote is block-level, you then use the <blockquote> element. If the quote is inline, you then use the <q> element. Here's an example:
or
<blockquote> <p>Words and more words, this is all quoted text from someone other than the author of this web page. Words and more words, this is all quoted text from someone other than the author of this web page.</p> <p>Words and more words, this is all quoted text from someone other than the author of this web page. Words and more words, this is all quoted text from someone other than the author of this web page.</p> <p>Words and more words, this is all quoted text from someone other than the author of this web page. Words and more words, this is all quoted text from someone other than the author of this web page.</p> </blockquote>
or
<p>I am the author of this web page, but I have a friend who once told me, <q>You are crazy!</q> I told him that I wan not crazy.</p>
#9
Posted 16 February 2008 - 07:42 AM
Oh, I see. Wasn't aware of <blockquote>'s existence.
Does this mean <q>whatever</q> not inside a <p> element is invalid?
Does this mean <q>whatever</q> not inside a <p> element is invalid?
#10
Posted 16 February 2008 - 12:47 PM
Not really. The sentence itself should be in some block-level element, regardless of the existence of the <q> element. Such as a <p>, a <li>, etc.
Share this topic:
Page 1 of 1


Help
This topic is locked

MultiQuote











