Jump to content

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
  • You cannot start a new topic
  • This topic is locked

Is there an XHTML equivalent for <quote>? Rate Topic: -----

#1 User is offline   temhawk 

  • W.R. Private First-Class
  • Group: Members
  • Posts: 322
  • Joined: 30-August 07
  • Gender:Male
  • Interests:travel, cg art, macs, music, skateboarding, programming, discovery channel, TextMate 2

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?
0

#2 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

Posted 15 February 2008 - 12:00 PM

I hope you're sitting down...

<q>the quote</q>
0

#3 User is offline   temhawk 

  • W.R. Private First-Class
  • Group: Members
  • Posts: 322
  • Joined: 30-August 07
  • Gender:Male
  • Interests:travel, cg art, macs, music, skateboarding, programming, discovery channel, TextMate 2

Posted 15 February 2008 - 12:07 PM

*falls off his chair*

Thank you! :teehee:
0

#4 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

Posted 15 February 2008 - 12:15 PM

:afro:
0

#5 User is offline   Telos 

  • Eternal Being
  • Group: Members
  • Posts: 250
  • Joined: 08-May 07
  • Gender:Male
  • Location:Finland

Posted 15 February 2008 - 12:33 PM

blockquote ?
I am a man without a website
0

#6 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

Posted 15 February 2008 - 12:38 PM

View PostTelos, on Feb 15 2008, 12:33 PM, said:

blockquote ?

Only if it's block-level. If it's inline, then simply <q> ...
0

#7 User is offline   temhawk 

  • W.R. Private First-Class
  • Group: Members
  • Posts: 322
  • Joined: 30-August 07
  • Gender:Male
  • Interests:travel, cg art, macs, music, skateboarding, programming, discovery channel, TextMate 2

Posted 15 February 2008 - 05:29 PM

With block-level you mean q { display : block ; } or are you referring to a tag?
0

#8 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

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:

<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>

0

#9 User is offline   temhawk 

  • W.R. Private First-Class
  • Group: Members
  • Posts: 322
  • Joined: 30-August 07
  • Gender:Male
  • Interests:travel, cg art, macs, music, skateboarding, programming, discovery channel, TextMate 2

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?
0

#10 User is offline   marcamos 

  • W.R. General
  • Group: Administrators
  • Posts: 2,849
  • Joined: 04-April 06
  • Gender:Male
  • Location:Massachusetts - USA

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.
0

#11 User is offline   temhawk 

  • W.R. Private First-Class
  • Group: Members
  • Posts: 322
  • Joined: 30-August 07
  • Gender:Male
  • Interests:travel, cg art, macs, music, skateboarding, programming, discovery channel, TextMate 2

Posted 16 February 2008 - 01:44 PM

Aight, thanks again!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users