HTML <q> Tag


The q element specifies a brief inline quotation from another source in an HTML text.

Traditionally, browsers place quotation marks around the content included within the <q> element. This tag is also generally known as the <q> element.

A brief quote is defined by the <q> element.

Normally, browsers place quote marks around the quotation.

Syntax

Example

Preview

Attributes

Attribute Value Description
cite URL A URL for the original document or a message for the quotation clarifying the quote's reference.

Supported Browsers

Element Chrome Firefox Safari Edge / IE Opera
<q> Yes Yes Yes Yes Yes