Difference between revisions of "Blockquote (HTML element)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Created page with "In HTML, the '''blockquote''' represents quoted text. == Description == Content inside a <blockquote> element must be quoted from another source. If it has...")
 
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
== Description ==
 
== Description ==
  
Content inside a <blockquote> element must be quoted from another source.
+
Content inside a blockquote element must be quoted from another source.
  
 
If it has address, a cite attribute should present.
 
If it has address, a cite attribute should present.
  
 
== Examples ==
 
== Examples ==
 +
 +
=== Example 1 ===
  
 
  <nowiki><blockquote>
 
  <nowiki><blockquote>
   <p>The quote is input here. </p>
+
   <p>The early bird gets the worm.</p>
 
</blockquote></nowiki>
 
</blockquote></nowiki>
  
 +
=== Example 2 ===
  
 
<pre>
 
<pre>
<blockquote>
+
<blockquote cite="https://en.wikipedia.org/wiki/List_of_proverbial_phrases">
   <p>The quote is input here. </p>
+
   <p>Brevity is the soul of wit.</p>
 
</blockquote>
 
</blockquote>
 
</pre>
 
</pre>
Line 28: Line 31:
  
 
* [https://www.w3.org/wiki/HTML/Elements/blockquote blockquote] @ w3.org  
 
* [https://www.w3.org/wiki/HTML/Elements/blockquote blockquote] @ w3.org  
 +
* [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote blockquote] @ developer.mozilla.org
 +
* [https://en.wikipedia.org/wiki/Blockquote_element blockquote element] @ Wikipedia
 +
* [http://www.w3schools.com/tags/tag_blockquote.asp blockquote] @ w3schools.com
  
 
[[Category:HTML elements]]
 
[[Category:HTML elements]]

Latest revision as of 10:59, 1 May 2016

In HTML, the blockquote represents quoted text.

Description

Content inside a blockquote element must be quoted from another source.

If it has address, a cite attribute should present.

Examples

Example 1

<blockquote>
  <p>The early bird gets the worm.</p>
</blockquote>

Example 2

<blockquote cite="https://en.wikipedia.org/wiki/List_of_proverbial_phrases">
  <p>Brevity is the soul of wit.</p>
</blockquote>

See also

External links