HTML - <q> Tag



The HTML <q> tag is used for indicating short quotations (i.e. quotations that span multiple lines).


<!DOCTYPE html>

      <title>HTML q Tag</title>

      Here comes a short quotation: <q> here is a short quotation </q>

This will produce the following result −

Global Attributes

This tag supports all the global attributes described in HTML Attribute Reference

Specific Attributes

The HTML <q> tag also supports the following additional attributes −

Attribute Value Description
cite URL URL of the quote, if it is taken from the web.

Event Attributes

This tag supports all the event attributes described in − HTML Events Reference

Browser Support

Chrome Firefox IE Opera Safari Android
Yes Yes Yes Yes Yes Yes