A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/html/elements/q below:

q – quote · WebPlatform Docs

q – quote q

For technical reasons, the title of this article is not the text used to call this API. Instead, use q

Summary

The q element represents some phrasing content quoted from another source.

Overview Table
DOM Interface
HTMLQuoteElement

Do not use quote characters (', ", ``, etc) when using the q element. If used with the html/elements/cite element, the cite must contain a valid url.

Attributes Examples

This example uses the q element to set apart a quotation in text.

<p>She then said, <q>See you around, kiddo!</q></p>

This example shows that the q element can have child elements.

<p>Chicken Little: <q>The sky is falling…
the sky is falling… <em>the sky is falling!</em></q></p>
Usage
 The q should be used to denote short, inline quotes that do not need a paragraph of their own.

For longer quotes, please use the blockquote element.

Related specifications
HTML 5.1
W3C Working Draft
HTML 5
W3C Recommendation
HTML 4.01
W3C Recommendation
See also Other articles Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4