WordPress.org

Ready to get started?Download WordPress

Ideas

Use <q> tag for inline quotes (and generally encourage more semantic code)

  1. Christiaan
    Member

    12345

    I'd like the WYSIWYG to convert my inline quotation marks into the <q> tags, and generally encourage better semantic code; such as encouraging use of the <cite> tag: http://wordpress.org/extend/ideas/topic.php?id=407

    Long live the Q Tag!
    http://alistapart.com/articles/qtag

    Posted: 7 years ago #
  2. mahalie
    Member

    12345

    I agree. I use blockquote right now, but that's not technically correct, is it?

    Posted: 7 years ago #
  3. Mark
    Member

    12345

    It is, for block quotes (longer quotes). Inline quotes should utilize the q tag though.

    I rate this idea highly because I agree that better semantic code should be encouraged. I disagree however with the proposed implementation. As long as the browser with the largest marketshare does not render the q element according to the specification (IE doesn't render the quotation marks itself), manually added quotation marks will have to stay even if you use the q tag. Sad but true.

    Posted: 7 years ago #
  4. Asbjørn Ulsberg
    Member

    12345

    JavaScript and/or CSS hacks can be implemented in WP's default templates to cater for IE's lack of support for the q element. So, I agree that this is needed.

    Posted: 7 years ago #
  5. AskApache
    Member

    12345

    This is a GREAT idea.. How can we get wordpress to implement the q tag next to the blockquote button in wordpress editor?

    Posted: 7 years ago #
  6. hostgatorcoupon
    Blocked

    I thought that IE8 has already implemented the q support.

    Posted: 5 years ago #
  7. I agree with the premise of encouraging semantic code but not the proposed implementation of the <q> element.

    In English, quotation marks do not always denote a quotation.

    Posted: 4 years ago #
  8. arthurfreitas
    Member

    12345

    Semantic code is the future. I agree.

    Att.

    Posted: 4 years ago #
  9. poodlerat
    Member

    12345

    Yes please! The nice things about <q> is that you can use CSS to pick which style quotes you want...so that your quotes can fit the language you're writing in automatically.

    And yes, IE8 finally does render quotes correctly. (Although Safari/Chrome doesn't do nested quotes properly without a lot of extra CSS.)

    Posted: 4 years ago #
  10. Just Thomas Misund
    Member

    12345

    -1. As greenshady sais, quotation marks do not always denote a quotation

    Posted: 4 years ago #

RSS feed for this topic

Reply »

You must log in to post.

  • Rating

    12345
    158 Votes
  • Status

    This idea is under consideration