This term, the blockquote tag, presents the HTML document with a display section for the long quotes to look unique from the rest of the other texts within the content. This tag is effortless to learn. In this tutorial, we will study the HTML <blockquote> tag.

What is HTML Blockquote Tag?

The HTML <blockquote> tag displays long quotes; This tag quotes a portion of text taken from other sources. It alters the alignment to create the content text look different from the rest. It includes both opening and closing tags. In the <blockquote> Tag, the Developer can operate elements such as the content heading, paragraph, list, etc. If you want to input a long quote within the content, use the HTML <blockquote> tag, and for short or inline quotes, use the HTML <q> tag.

Example:

An example of a section that quotes a portion of text from Wikipedia:

<blockquote cite="https://en.wikipedia.org/wiki/Blockquote_element">
The blockquote element is used to indicate the quotation of a large section of text from another source. Using the default HTML styling of most web browsers, it will indent the right and left margins both on the display and in printed form, but this may be overridden by Cascading Style Sheets (CSS).
</blockquote>

Use of the Blockquote Tag

Developers use the <blockquote> element to display the quotations present in a large section of text separated from other sources. A URL placed within the "cite" attribute refers to the citation source, while the blockquote tag along with the attribute displays a portion of texts from that origin.

When developers want to define a long quote within content, they apply the <blockquote> tag. The tag indicates that the enclosed text suggests an extended content citation. To modify the default indentation used in the element, apply the CSS properties margin-left or margin-right. To include short inline quotes, implement the <q> (quote) property instead of a separate block.

The blockquote tag is a semantic tag in HTML that suggests to the browser or user agent that HTML documents contain a long quote. But from the earliest times, developers applied the blockquote tag when they wanted to indent text on a webpage, even if it was not like a quote. Thus it is a bad practice among many HTML developers. It should not use the blockquote tag only for display purposes.