New in HTML5.

<q> HTML Tag

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
Element of
Learn How Fonts And Web Typography Work In HTML: A Beginner's Guide
What does <q> HTML Tag do?
The <q> element is used to identify and inline quote that does not require paragraph breaks. Longer quotations that do require paragraph breaks should use the <blockquote> element.
Display
inline
Usage
textual

Defining Quotes

<q> defines an inline quote in a block of text. Ordinarily, browsers should place quotation marks around the quote, although Internet Explorer does not. For this reason, <q> is rather under-used. If you need to define a quote that is longer than a single sentence, use <blockquote>.

Claire is seasoned technical writer, editor, and HTML enthusiast. She writes for HTML.com and runs a content agency, Red Robot Media.