Learning Resources
 

q tag for Short Quotations


The quotation tag is used to cite short text passages. Modern browsers will automatically insert quotation marks around the quoted passage.

While all modern browsers support the quotation tag, older browsers treated the tag in different ways or ignored it altogether. For that reason you may want to use a different way to quote passages of text, such as simply inserting your own quotation marks.

Here's how to use the quotation tag:

My mother loves me.

On a web page that will look like this: My mother loves me.