The <blockquote> element (or HTML Block Quotation Element) indicates that the section is quoted from another source.
The <blockquote> element is a block-level element.
In HTML 4.01, we generally use this element for long quotations which have paragraphs. However, it is used for a quotation from another source after HTML5.
We can give a URL for quotation's source by using cite attribute, while a text representation of the source can be given using the <cite> element.
Recommendation: Use the <q> element for short quotations.
The <blockquote> element comes in pairs. The content must be written between opening (<blockquote>) and closing (</blockquote>) elements.
<html> <body> Here an explanation for HTML: <blockquote cite="http://www.w3docs.com/learn-html/html-introduction.html"> HTML (Hyper Text Markup Language) is the main markup language for creating web pages and to show any information that can be displayed in a web browser. </blockquote> As you see, it is automatically indented when we use blockquote element. </body> </html>
In the given example the cite attribute defines the website as the source for the quotation.
|cite||URL||Defines the source where the quotation is taken from.|
The <blockquote> element also uses the Global Attributes.