html tutorial - Blockquote <blockquote> tag in HTML - html5 - html code - html form



  • The <blockquote> element specifies that the enclosed text is a long quotation.
  • A URL for the source of the quotation may be given using the cite attribute.
  • Although a text representation of the source can be given using the <cite> element.
  • The blockquote element belongs to Flow content, sectioning root, palpable content category.
  • The blockquote tag supports both Global Attribute and Event attribute.

Syntax for <blockquote> tag in HTML:

<blockquote>Content</blockquote><figcaption>

Differences between HTML 4.01 and HTML5 for <blockquote> tag:

HTML 4.01

  • <blockquote> is used for an extended quotation.

HTML5

  • The <blockquote> tag specifies a part that is quoted from different source.

Sample Coding for <blockquote> tag in HTML:

Tryit<!DOCTYPE html>
<html >
    <body>
        <h1>About Wikitechy</h1>
        <blockquote>
            To enhanced tutorials zone providing the best learning curve.
        </blockquote>
    </body>
</html>

Code Explanation for <blockquote > tag in HTML:

code explanation for blockquote tag

  1. Blockquote tag is start with <blockquote> and its end with </blockquote>.
  2. Here, the content we mentioned inside the blockquote is “To enhance tutorials zone providing the best learning curve” will be started with the free space before.

Output of <blockquote > tag in HTML:

output for blockquote tag

  1. In this output browser window the content we mentioned inside the blockquote “To enhance tutorials zone providing the best learning curve” has been started with the free space before the sentence.

Attribute of <blockquote>tag in HTML:

Attribute Value HTML4 HTML5 Description
cite URL Yes Yes Defines the source of the quotation.

Browser Support for <blockquote> tag in HTML:

Yes Yes Yes Yes Yes

Tips and Notes

  1. Blockquote is similar to Tab space or Intent, which makes the text/paragraph/sentence to be started with some free space before.
  2. <q> used for short quotations.

Related Searches to blockquote tag in html