HTML元素 - q

定义

分离文本中的引语。

Sets apart a quotation in text.

注释

此元素在 Internet Explorer 4.0 及以上版本的 HTML 和脚本中可用。

此元素是内嵌元素。

此元素需要关闭标签。

The Q element is available in HTML and script as of Internet Explorer 4.0.

This element is an inline element.

This element requires a closing tag.

示例代码

下面的例子使用了 Q 元素分离文本中的引语。

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

<P>He said,
<Q>"Hi there!"</Q>

另见

blockQuote