Revision 17378 of <q>

  • Revision slug: HTML/Element/q
  • Revision title: q
  • Revision id: 17378
  • Created:
  • Creator: XmvA9w
  • Is current revision? No
  • Comment

Revision Content

Quote element indicates that the enclosed text is a short inline quotation.

Attributes

cite
The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.

Example

  Everytime Kenny is killed, Stan will announce <q>Oh my God, you/they killed Kenny!</q>. 

Above HTML will output:

Image:HTML-q.png

Notes

This element is intended for short quotations that don't require paragraph breaks, for long quotations use [[HTML:Element:blockquote|

Revision Source

<p><b>Quote</b> element indicates that the enclosed text is a short inline quotation.
</p>
<ul><li> Element type: <a href="en/HTML/Inline_elements">inline</a>
</li><li> Allowed content: <a href="en/HTML/Inline_elements">inline</a>
</li></ul>
<h3 name="Attributes"> Attributes </h3>
<dl><dt>cite
</dt><dd>The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.
</dd></dl>
<h3 name="Example"> Example </h3>
<pre>  Everytime Kenny is killed, Stan will announce &lt;q&gt;Oh my God, you/they killed Kenny!&lt;/q&gt;. 
</pre>
<p>Above HTML will output:
</p><p><img alt="Image:HTML-q.png" src="File:en/Media_Gallery/HTML-q.png"> 
</p>
<h3 name="Notes"> Notes </h3>
<p>This element is intended for short quotations that don't require paragraph breaks, for long quotations use [[HTML:Element:blockquote|<code></code>
</p>
Revert to this revision