q
Definition and Usage
The HTML<q>
tag is used for indicating short quotations (i.e. quotations that needs to display within a non-quoted paragraph). It indicates that the enclosed text is a short inline quotation.This element is intended for short quotations that don't require paragraph breaks; for long quotations use the <blockquote> element.
Browsers generally surround <q>
text with quotation marks. If your quotation spans multiple lines, you should use the <blockquote> tag. Most browsers surround blockquote text as indented text.